magento / graphql-ce

[ARCHIVED] Please use magento/magento2 project
https://github.com/magento/magento2
Open Software License 3.0
131 stars 156 forks source link

MyAccount :: Order Details :: Shipping Details by Order Number #1016

Closed lenaorobei closed 4 years ago

lenaorobei commented 5 years ago

Description (*)

As a Magento end Customer,

I want to see shipping details for an order in my account

so that

I can know the right status and tracking details for my order.

Acceptance Criteria:

Additional information

type OrderShipment @doc(description: "Order shipment details"){
    id: ID! @doc(description: "shipment unique identifier") #`base64encode` representation of `increment_id`
    number: String! @doc(description: "document number")
    shipping_method: String! @doc(description: "shipping method for the order")
    shipping_address: CustomerAddress! @doc(description: "shipping address for the order")
    tracking_link: String @doc(description: "tracking link for the order")
    shipped_items: [ShipmentItem]! @doc(description: "items included in the shipment")
}

type ShipmentItem implements SalesItemInterface @doc(description: "Order shipment item details"){
    quantity_shipped: Float! @doc(description: "number of shipped items")
}

Implementation should be based on approved proposal: https://github.com/magento/architecture/pull/312

lenaorobei commented 4 years ago

Closed in order to not to increase tech debt and keep feature parity with storefront approach.