Description
Topic: Returns
Fields
The date and time when the return was approved
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
The date and time when the return was closed
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
The date and time when the return was created
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Whether to refund to customer balance
Example: false
The date and time when the inbound shipment is expected to be delivered (upper boundary)
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
The date and time when the inbound shipment is expected to be delivered (lower boundary)
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
history: [ReturnHistory!]!
A unique return identifier
Example: "rt_EQzGqWoY"
inbound_tracking: TrackingEventStatus!
Event status
The date and time when the return was inspected
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
label_file: File
line_items: [ReturnLineItem!]!
A unique return number
Example: 1002
order: Order
The date and time when the return was received
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
refund_shipping_charge: Boolean!
Whether to refund shipping charge or not
Example: true
The date and time when the return was refunded
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Reason why a return was rejected
Example: "TODO"
The date and time when the return was rejected
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
restock_items_to_inventory: Boolean!
Whether to restock items to inventory or not
Example: true
return_address: Address
return_address_type: ReturnPolicyAddressType!
What address customers will use for returns
return_fee: ReturnPolicyReturnFee
return_inventory_location: InventoryLocation
return_policy: ReturnPolicy
reverse_logistics: ReverseLogistics!
Whether to generate label or not
reverse_logistics_desc: String!
Description for a custom reverse logistics option
Example: "TODO"
reverse_logistics_name: String!
Name for a custom reverse logistics option
Example: "TODO"
shipping_provider_type: ShippingProviderType
Type of the shipping provider (use "fixed" as "other")
state: ReturnState!
State of a return
Example: "request"
Return tags (can be used for organization)
The name of the shipping company
Example: "Ship & Co"
tracking_events: [ReturnTrackingEvent!]!
Shipping number, provided by the shipping company
Example: "1Z2345"
The URLs to track the fulfillment
Example: "http://www.google.com/search?q=1Z2345"
The date and time when the return was last modified
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Used By
Mutations
returnsApprove, returnsCheck, returnsClose, returnsCreate, returnsInspect, returnsOpen, returnsReceive, returnsRefund, returnsReject
Queries
Types
Preview (typescript)
Loading module