addInventoryFulfillmentDelivery
The method allows you to create a new fulfillment delivery in draft status. A fulfillment delivery represents a shipment of products from a source warehouse to a fulfillment center.
Input parameters
Output data:
A sample request in PHP:
| warehouse_id | int | Source warehouse identifier |
| fulfillment_warehouse_id | int | Fulfillment warehouse identifier |
| name | varchar(80) | Delivery name |
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 | Created delivery identifier |
| document_number | text | Generated document number |
Sample
Input data:Output data:
A sample request in PHP: