orderAttachment
The id is an internally assigned id of an orderAttachment. Only during and POST v3/orders or POST v3/orderAttachments is it possible to use arbitrary integer value which might be used to cross-reference within the message itself. However the system will not honour any value assigned by external systems.
52005678orderAttachmentorderAttachmentorderAttachmentattributes object
MIME content type of a content property.
This parameter is important because will define the manner in which contents are processed, note however that at the moment only one value is supported: application/pdf
Possible values: [application/pdf]
application/pdfDefines the strategy to employ when printing the orderAttachement. Defaults to REQUIRED.
| value | description |
|---|---|
| REQUIRED | (default) Makes the printing of the orderAttachment a required step in the fulfilment of each shipment of the order. |
| BEST_EFFORT | Makes the printing of the orderAttahment optional, meaning that when printing fails for what ever reasons the shipment will not be blocked. |
Possible values: [REQUIRED, BEST_EFFORT]
REQUIRED- Example 1
- Example 2
REQUIREDBEST_EFFORTrelationships object
order object
Represents a relationship to an order resource.
data object
Represents a self-link of an order resource.
The id is an internally assigned id of an order. Only during and POST v3/orders is it possible to use arbitrary integer value which might be used to cross-reference within the message itself. However the system will not honour any value assigned by external systems.
24006341orderorderlinks object
https://shopapi.activeants.nl/v3/orders/24006341links object
{
"id": 52005678,
"type": "orderAttachment",
"attributes": {
"filename": "string",
"contentType": "application/pdf",
"printStrategy": "REQUIRED"
},
"relationships": {
"order": {
"data": {
"id": 24006341,
"links": {
"self": "https://shopapi.activeants.nl/v3/orders/24006341"
}
}
}
},
"links": {
"self": "string"
}
}