Retrieves all transitions that happened at the Order Line level.
6 params→ 200403404429default
GET
/merchants/{merchant-id}/orders-deletion-requests
Retrieves the order data belonging to customers who requested data deletion.
6 params→ 200403404429default
Schemas 51
The contract defines 51 schemas that model the data the API accepts and returns. The most detailed are OrderAttributes (29 properties), OrderItemAttributes (14 properties), OrderLineAttributes (12 properties), Shipment (11 properties). Each schema is shown below with its type and property counts.
Cursor
object
The representation of a cursor for fetching paginated list of orders for deletion.
1 property
Errors
object
An array of error objects.
1 property
Shipment
object
A shipment represents the delivery of specific order lines from an order in a single parcel. It includes additional details such as tracking numbers, the stock…
11 properties1 required
TransitionsTopLevel
object
Representation of a list of transitions according to the JSON API specification.
3 properties
Phone
object
The phone number of the customer who placed the order. It's exposed only with required permissions
1 property1 required
OrderLineStatus
string
The status of an Order Line.
ShipmentStatus
string
The status of the shipment.
Money
object
2 properties2 required
OrderAttributes
object
Representation of an order.
29 properties8 required
TransitionReason
object
The reason for an order or order line transition.
2 properties2 required
OrderLineRelationships
object
Order Line relationships.
1 property
RateLimitError
object
Error object for rate limit.
1 property
ServicePointDetails
object
3 properties
ItemResourceObject
Relationships
object
Relationship object to represent One-to-Many relationships.
2 properties
OrderLineUpdateAttributes
object
Attribute belonging to an Order Line update.
3 properties1 required
ShipmentResource
object
Shipment resource object
3 properties
ShipmentOrderLine
object
Shipment related attributes of an order line
2 properties1 required
OrderResourceObject
Shipments
object
A collection of shipments for this order.
1 property
Order
object
Order Resource Object.
6 properties
TransitionAttributes
object
Details of a state transition for an Order or Order Line
5 properties4 required
OrderItem
object
Order Item Resource Object.
6 properties
OrderUpdateAttributes
object
Attributes belonging to an order update.
3 properties
OrderItemsTopLevel
object
Representation of a list of order items according to the JSON API specification.
4 properties
Address
object
The representation of an address.
10 properties6 required
OrdersTopLevel
object
Representation of a list of orders according to the JSON API specification.
4 properties
OrderUpdateTopLevel
object
Representation of an order update according to the JSON API specification.
1 property
Meta
object
Meta
3 properties1 required
DeletionRequests
object
Representation of a deletion request containing list of orders with details to be deleted
2 properties
TransitionData
object
Transition resource object.
5 properties
OrderStatus
string
The status of an order.
Error
object
Error object
5 properties
OrderUpdateData
object
Data of an order update.
3 properties3 required
OrderTopLevel
object
Representation of an order according to the JSON API specification.
4 properties
OrderLinesTopLevel
object
Representation of a list of Order Lines according to the JSON API specification.
4 properties
OrderLineUpdateData
object
Data of an Order Line update.
3 properties3 required
OrderLineTopLevel
object
Representation of an Order Line according to the JSON API specification.
4 properties
OrderItemTopLevel
object
Representation of an order item according to the JSON API specification.
4 properties
OrderItemRelationships
object
Order Item relationships.
1 property
OrderRelationships
object
Order relationships.
2 properties
Weight
object
The weight measurement
2 properties2 required
OrderLineUpdateTopLevel
object
Representation of an Order Line update according to the JSON API specification.
1 property
OrderItemAttributes
object
An Order Item contains a summarized view with quantities of the underlying Order Lines.
14 properties6 required
DeletionRequestOrder
object
Representation of an order to be deleted.
7 properties
OrderLineAttributes
object
A detailed view of an Order Item - a single line of possible multiple Order Lines.
12 properties2 required
ErrorSource
object
Indicate the source of error.
2 properties
Links
object
Links response
6 properties
OrderLine
object
OrderLine resource object
6 properties
ResourceIdentifierObject
object
Resource Identifier Object which uniquely identifies a Resource Object.
2 properties2 required
LineResourceObject
Specification
The full machine-readable OpenAPI contract behind this narrative.