Retrieve packages, optionally filtered by creation time, update time, or package status.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
The number of results to be returned per page. Valid range: [1-50].
The returned results will be sorted by the specified field.
Default: create_time
Possible values:
create_timeupdate_timeorder_pay_time
Specify the order for sorting the returned results by using the sort_order parameter.
The sort order for the sort_field parameter. Default: DESC
Possible values:
ASC: Ascending orderDESC: Descending order
An opaque token used to retrieve the next page of a paginated result set. Retrieve this value from the result of the next_page_token from a previous response. It is not needed for the first page.
Request Body
Section titled “Request Body”object
Filter packages to those created at or after the specified time. Unix timestamp, in seconds.
Filter packages to those created before the specified time. Unix timestamp, in seconds.
Filter packages to those updated at or after the specified time. Unix timestamp, in seconds.
Filter packages to those updated before the specified time. Unix timestamp, in seconds.
Possible values:
TO_FULFILLPROCESSING: Package has been arranged by seller. Waiting for carrier to collect the parcel.FULFILLING: Package has been collected by carrier and in transit.COMPLETED: Package has been delivered.CANCELLED: Package has been canceled. Normally, the package is canceled due to the package being lost or damaged.
Example
{ "create_time_ge": 1623812664, "create_time_lt": 1623812664, "update_time_ge": 1623812664, "update_time_lt": 1623812664, "package_status": "PROCESSING"}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
An opaque token used to retrieve the next page of a paginated result set. If this value is non-empty, provide it in the page_token parameter of the next request. If this value is empty, stop pagination.
The number of packages that meet the query conditions.
The response list of packages.
object
Package ID.
The response list of TikTok Shop orders.
object
TikTok Shop order ID.
[Deprecated]SKU information.
object
[Deprecated]SKU ID.
[Deprecated]SKU name.
[Deprecated]SKU image in order snapshot.
[Deprecated]SKU quantity.
Package creation time. Unix timestamp, in seconds.
The time when the package was last updated. Unix timestamp, in seconds.
Possible values:
TO_FULFILLPROCESSING: Package has been arranged by seller. Waiting for carrier to collect the parcel.FULFILLING: Package has been collected by carrier and in transit.COMPLETED: Package has been delivered.CANCELLED: Package has been canceled. Normally, the package is canceled due to the package being lost or damaged.
Package tracking number.
Package shipping provider.
Package shipping provider ID.
The order line item ID contained in the package.
Example
{ "code": 0, "data": { "next_page_token": "6AsPQsUMvH3RkchNUPPh22NROHkE0D8pmq/N5M1kHYcZmtRyv9aVrNv65W7Q6tFA", "total_count": 221, "packages": [ { "id": "577828281214600000", "orders": [ { "id": "577828281214600000", "skus": [ { "id": "577828281214883345", "name": "white,128g", "image_url": "https://p19-oec-sg.ibyteimg.com/tos-maliva-i-o3syd03w52-us/12345670", "quantity": 5 } ] } ], "create_time": 1635338186, "update_time": 1635338186, "status": "PROCESSING", "tracking_number": "6617675021119438849", "shipping_provider_name": "TT Virtual express", "shipping_provider_id": "6617675021119438849", "order_line_item_ids": [ "1729382476852921560" ] } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}