Mark shipments as packed by shipment increment id, and an option time stamp. The current time is used, when no (optional) timestamp is provided. Requires a shipment token to authorize the request.
application/json
POST
/V2/shipment/{incrementId}/merchant/packed
cURL (application/json)
curl \
--request POST 'https://m2.winkelstraat.nl/rest/all/V2/shipment/{incrementId}/merchant/packed' \
--header "Content-Type: application/json" \
--data '{"shipmentToken":"string","timestamp":"string"}'
curl \
--request POST 'https://m2.winkelstraat.nl/rest/all/V2/shipment/{incrementId}/merchant/packed' \
--header "Content-Type: application/xml"
Request examples
{
"shipmentToken": "string",
"timestamp": "string"
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
<shipmentToken>string</shipmentToken>
<timestamp>string</timestamp>
</root>
Response examples (200)
string
Response examples (200)
string
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>