Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

items are not populated to SetShippingAddressesOnCartOutput #410

@TomashKhamlai

Description

@TomashKhamlai

Could be not a bug

Preconditions (*)

  1. Customer is created
  2. Simple Product is created

Steps to reproduce (*)

  1. Generate Customer token (GraphQL)
  2. Create empty cart (GraphQL)
  3. Add Simple Product to Cart (GraphQL)
  4. Set shipping address on cart
mutation {
  setShippingAddressesOnCart(
    input: {
      cart_id: "{{ CADT_ID }}"
      shipping_addresses: {
        customer_address_id: {{ ADDRESS_ID }}
      }
    }
  ) {
    cart {
      items {
        product {
          ... on PhysicalProductInterface {
            weight
          }
        }
      }
    }
  }
}

Expected result (*)

  1. data.setShippingAddressesOnCart.cart.items is populated with data

Actual result (*)

  1. data.setShippingAddressesOnCart.cart.items is null

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions