⌨️Type specifications

Response from the API endpoint...

OrdersPack

PropertyTypeDescription

Id

integer

Shopping cart number associated with the order. Only if the order is part of a shopping cart purchase.

Please refer to the above notes.

SourcePackId

string

The original shopping cart number associated with the order.

IsComplete

bool

When TRUE, the order is a shopping cart purchase and all items in the cart are present and available for download.

When FALSE, the order is a shopping cart purchase and NOT all items in the cart are present and available for download. You need to wait a while for all the items in the cart to arrive from the marketplace of origin and try to download the order again.

Please refer to the above notes.

Marketplace

{

Key (integer),

Value (string),

Channel (string)

}

ID of the marketplace in which the order originated.

See marketplaces ID section and the GET marketplaces endpoint for the coding reference.

Channel property is available on the following scenarios:

· Mercado Libre: When the sale came from a “Mercado Shops” sale the string contains this name.

All individual orders in the same shopping cart share the same marketplace information. This ORDERS PACK displays that information once and is not repeated for each individual order.

SellerAccount

The seller to whom the orders belong to.

All individual orders in the same shopping cart share the same seller information. This ORDERS PACK displays that information once and is not repeated for each individual order.

Buyer

Buyer details.

All individual orders in the same shopping cart share the same buyer information. This ORDERS PACK displays that information once and is not repeated for each individual order.

Payments

List of payments.

All individual orders in the same shopping cart share the same payments information. This ORDERS PACK displays that information once and is not repeated for each individual order.

Shipping

Shipping details.

All individual orders in the same shopping cart share the same shipping information. This ORDERS PACK displays that information once and is not repeated for each individual order.

Total

integer

The quantity of individual orders belonging to the shopping cart.

Orders

The collection of individual orders belonging to the shopping cart.

Please note that the following properties from OrderType object are not visible:

· Marketplace

· SellerAccount

· Buyer

· Payments

· Shipping

That happens because those properties are already present in this JSON, and it doesn't make sense to repeat them in each individual order.

Last updated