Skip to main content
object

Requires read_returns access scope or read_marketplace_returns 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).

•ReverseDeliveryDeliverable

The deliverable associated with the reverse delivery.

•ID!
non-null

The ID of the reverse delivery.

Anchor to reverseDeliveryLineItemsreverseDeliveryLineItems
•ReverseDeliveryLineItemConnection!
non-null

The reverse delivery line items attached to the reverse delivery.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


Anchor to reverseFulfillmentOrderreverseFulfillmentOrder
•ReverseFulfillmentOrder!
non-null

The ReverseFulfillmentOrder associated with the reverse delivery.


Was this section helpful?

•query

Lookup a reverse delivery by ID.

Arguments

•ID!
required

The ID of the ReverseDelivery to return.



Was this section helpful?

•mutation

Creates a new reverse delivery with associated external shipping information.

Arguments

Anchor to reverseFulfillmentOrderIdreverseFulfillmentOrderId
•ID!
required

The ID of the reverse fulfillment order that's associated to the reverse delivery.

Anchor to reverseDeliveryLineItemsreverseDeliveryLineItems
•[ReverseDeliveryLineItemInput!]!
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.

•ReverseDeliveryTrackingInput
Default:null

The tracking information for the reverse delivery.

•ReverseDeliveryLabelInput
Default:null

The return label file information for the reverse delivery.

•Boolean
Default:true

When true the customer is notified with delivery instructions if the ReverseFulfillmentOrder.order.email is present.


•mutation

Updates a reverse delivery with associated external shipping information.

Arguments

•ID!
required

The ID of the reverse delivery to update.

•ReverseDeliveryTrackingInput
Default:null

The tracking information for the reverse delivery.

•ReverseDeliveryLabelInput
Default:null

The return label file information for the reverse delivery.

•Boolean
Default:true

If true and an email address exists on the ReverseFulfillmentOrder.order, then the customer is notified with the updated delivery instructions.



Was this section helpful?

•interface

Was this section helpful?