Use this API to query orders eligible for combined shipping.
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.
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.
The number of results to be returned per page. Valid range: [1-50].
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
List of eligible packages that can be combined.
object
The pre-generated package ID obtained after calling the Search Draft Package API. Use this ID when confirming the package combination.
List of order IDs for this package.
An opaque token used to retrieve the next page of a paginated result set. Provide this value in the page_token parameter of your request if the current response does not return all the results.
The number of combinable packages counted by this result.
Example
{ "code": 0, "data": { "combinable_packages": [ { "id": "57466538837665", "order_ids": [ "57466538837665", "57466538837666" ] } ], "next_page_token": "6AsPQsUMvH3RkchNUPPh22NROHkE0D8pmq/N5M1kHYcZmtRyv9aVrNv65W7Q6tFA", "total_count": 10 }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}