Reverse Delivery
Requires access scope.
A reverse delivery is a post-fulfillment object that represents a buyer sending a package to a merchant. For example, a buyer requests a return, and a merchant sends the buyer a shipping label. The reverse delivery contains the context of the items sent back, how they're being sent back (for example, a shipping label), and the current state of the delivery (tracking information).
Anchor to Fields and connectionsFields and connections
- Anchor to deliverabledeliverable•Reverse
Delivery Deliverable The deliverable associated with the reverse delivery.
- •ID!non-null
The ID of the reverse delivery.
- Anchor to reverseDeliveryLineItemsreverse•Reverse
Delivery Line Items Delivery Line Item Connection!non-null The reverse delivery line items attached to the reverse delivery.
- Anchor to reverseFulfillmentOrderreverse•Reverse
Fulfillment Order Fulfillment Order!non-null The
associated with the reverse delivery.
Anchor to MutationsMutations
- •mutation
Creates a new reverse delivery with associated external shipping information.
- Anchor to labelInputlabel•Reverse
Input Delivery Label InputDefault:null The return label file information for the reverse delivery.
- Anchor to notifyCustomernotify•BooleanDefault:true
Customer When
true
the customer is notified with delivery instructions if theis present.
- Anchor to reverseDeliveryLineItemsreverse•[Reverse
Delivery Line Items Delivery Line Item Input!]!required The reverse delivery line items to be created. If an empty array is provided, then this mutation will create a reverse delivery line item for each reverse fulfillment order line item, with its quantity equal to the reverse fulfillment order line item total quantity.
- Anchor to reverseFulfillmentOrderIdreverse•ID!required
Fulfillment Order Id The ID of the reverse fulfillment order that's associated to the reverse delivery.
- Anchor to trackingInputtracking•Reverse
Input Delivery Tracking InputDefault:null The tracking information for the reverse delivery.
Arguments
- Anchor to reverseDeliveryreverse•Reverse
Delivery Delivery The created reverse delivery.
- Anchor to userErrorsuser•[Return
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a reverse delivery with associated external shipping information.
- Anchor to labelInputlabel•Reverse
Input Delivery Label InputDefault:null The return label file information for the reverse delivery.
- Anchor to notifyCustomernotify•BooleanDefault:true
Customer If
true
and an email address exists on the, then the customer is notified with the updated delivery instructions.
- Anchor to reverseDeliveryIdreverse•ID!required
Delivery Id The ID of the reverse delivery to update.
- Anchor to trackingInputtracking•Reverse
Input Delivery Tracking InputDefault:null The tracking information for the reverse delivery.
Arguments
- Anchor to reverseDeliveryreverse•Reverse
Delivery Delivery The updated reverse delivery.
- Anchor to userErrorsuser•[Return
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields