API documentation
Method list
Test your request
Changelog


runFulfillmentLinkProducts
The runFulfillmentLinkProducts method synchronously links selected inventory products to a fulfillment warehouse using its configured product extra field.


Input parameters
fulfillment_warehouse_idintFulfillment warehouse identifier
product_idsarrayInventory product identifiers. The array must contain between 1 and 100 positive integers.



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
linkedintNumber of products linked to the fulfillment account
skipped_no_matchintNumber of products without a matching fulfillment product



Sample
Input data:
Output data:
A sample request in PHP: