runInventoryFulfillmentDeliverySubmission
The method allows you to submit (register) a fulfillment delivery in draft or packing status. Products are treated as packed in simple packing mode and the shipment is registered in the fulfillment center. Optionally accepts date_arrival (unix timestamp) as the expected arrival date when required by the fulfillment integration. Currently supported for selected fulfillment integrations with simple packing mode.
Input parameters
| delivery_id | int | Fulfillment delivery identifier to submit |
| date_arrival | int | (optional) Expected arrival date at the fulfillment center (unix timestamp). Required by some integrations that need a planned receipt date (e.g. DHL Fulfillment). |
Output data
The method returns the data in JSON format.
| status | varchar(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 |
| delivery_id | int | Fulfillment delivery identifier |
| external_id | varchar(100) | External fulfillment shipment identifier after successful registration |
Sample
Input data:Output data:
A sample request in PHP: