Use this API to combine orders from each specified package into new fulfillment packages.
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.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The packages to combine. Provide at least one package. Each item identifies a package and can specify the order IDs to include.
object
The package ID.
The order IDs to include when combining the package identified by id.
Example
{ "combinable_packages": [ { "id": "12321313133", "order_ids": [ "1233213123123", "32132131231" ] } ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Return list of successfully combined packages.
object
The new package ID generated after the package has been successfully combined.
List of order IDs corresponding to a new combined package ID.
The errors returned for packages that could not be combined.
object
The failure reason code.
The failure reason message.
Error detail.
object
Package ID.
Example
{ "code": 0, "data": { "packages": [ { "id": "413234134123412", "order_ids": [ "1233213123123", "32132131231" ] } ], "errors": [ { "code": 10007014, "message": "fulfillment not allow combine package", "detail": { "package_id": "1231231231231313123132" } } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}