Return Registration
Mutate Return Registration (Batch)
Changed onReturn Registrations represent a return request from a customer. There might be multiple return registrations for a single order. There might also be multiple labels for one return registration, if requested by the customer.
A return registration is linked to a configuration bundle (field 'code'), multiple configurations might be available on one account (e.g. country-specific courier configurations).
Return registrations are created by the parcelLab return portal, or by the retailer via the parcelLab API.
Certain fields of the return registration are not mutable via requests on the registration resource, but require 'action' payloads to be submitted (e.g. 'AddLabel') to the 'mutate' action.
post/v4/returns/return-registrations/mutate/
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
Request body
Response
Example response
{
"articles_order": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"articles_return": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"mutations": [
{
"items": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
]
}Changes
- info
endpoint added
- info