get https://sellercenter-api.falabella.com/?Action=GetDocument
GetDocument. Retrieves the shipping labels for an order.
The response fields provided by this API are detailed in the following table:
Field Name | Type | Description |
---|---|---|
DocumentType | String | Document type requested in the API call |
MimeType* | String | Can have the values text/plain or application/pdf. text/plain indicates the type of decoding to be used to convert from base64 to plain text (.txt or .zpl). application/pdf is the decoding to be used to convert from base64 to pdf. Currently, text/plain only applies to Chile. |
File | String | Label encoded in BASE64 |
*The MimeType returned in the call is based on the format type previously requested by the seller. Changing the format requires creating a ticket in the Seller Support platform; at the moment, this request can only be made for sellers in Chile.
To reconstruct the file, the data from the <File>
node must be decoded in base64 and interpreted according to the <MimeType>
.
## How to request your ZPL label?
You must create a ticket through the support button in Falabella Seller Center, selecting
Post Sale > Pending Order Dispatch > I want to receive my labels in ZPL format
Currently, this applies only to Chile.
Errors
Error Code | Message |
---|---|
20 | E020: "%s" Invalid Order Item IDs (Invalid order item IDs) |
21 | E021: OMS Api Error Occurred (An error occurred in the API) |
32 | E032: Document type "%s" is not valid (The document type "%s" is not valid) |
34 | E034: Order Item must be packed. Please call setStatusToReadyToShip before (The order item must be packed. Please call setStatusToReadyToShip) |
35 | E035: "%s" was not found ("%s" was not found) |