getInventoryFulfillmentDeliveryLabels
The method allows you to download labels of a selected type for a specific fulfillment delivery.
Input parameters
| delivery_id | int | Fulfillment delivery identifier |
| type | varchar(10) | Type of labels to download |
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 |
| labels | array | Array of fulfillment delivery labels |
| | - type | varchar(10) | Label type: delivery, box, or item |
| | - position | int | Position of the label object in the delivery |
| | - box_position | int | Box position for box and item labels, 0 for delivery labels |
| | - extension | varchar(10) | Label file extension |
| | - label | text | Label encoded with base64 algorithm |
Sample
Input data:Output data:
A sample request in PHP: