Return Registrations
Our API allows you to create, update, and retrieve customer return registrations.
Overview
These requests allow you to generate and modify return registrations with a single HTTPS request.
You can retrieve return registrations associated with your account and a specific return request using its unique ID through these APIs. Additionally, you can retrieve article information for return items as well as generate return labels.
Get Return Registrations
You can retrieve a list of return registrations for your account using the v4/returns/return-registrations
endpoint.
Return 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.
The pagination cursor value.
Which field to use when ordering the results.
GET /v4/returns/return-registrations/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
"previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3",
"results": [
{
"account": 1,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"return_labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"created_at": "2025-10-11T19:34:53.524Z",
"updated_at": "2025-10-11T19:34:53.524Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
]
}
Get a Return Registration
You can retrieve a specific return registration using the v4/returns/return-registrations/{external_id}
endpoint.
Return 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.
Unique identifier for this return registration, generated by parcelLab
GET /v4/returns/return-registrations/{external_id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"account": 1,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"return_labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"created_at": "2025-10-11T19:34:53.524Z",
"updated_at": "2025-10-11T19:34:53.524Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
Create a Return Registration
You can generate a new return registration for your account using the v4/returns/return-registrations
endpoint.
Create a new return registration
Set to true
to use the test environment for carrier integration.
false
Set to true
to preview behavior using unpublished configuration changes (e.g., article rules or courier options).
false
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Retailer reference, e.g. the order number, not unique
Unique identifier for this return registration, generated by parcelLab
Additional identifier (e.g. shop system id) for this return registration, generated by the retailer
If true, the registration has been submitted. This is a read-only field.
created
- Createdsubmitted
- Submittedpending_approval
- Pending Approvalapproved
- Approvedrejected
- Rejectedcancelled
- Cancelledclosed
- Closedprocessing_failed
- Processing Failed
created
- Createdsubmitted
- Submittedpending_approval
- Pending Approvalapproved
- Approvedrejected
- Rejectedcancelled
- Cancelledclosed
- Closedprocessing_failed
- Processing Failed
Reason for the current status
Date of the order
Currency of the order, e.g. USD, EUR (ISO 4217)
Total amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$
Date of the order delivery
Date of the order shipment
Payment method used for the order, as setup as reference items in the accounts configuration
ISO 639-1 language code of the recipient, if known, required for localized communication
Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.
Customer phone number
ISO 3166-1 alpha-3 code of country
Refund method selected by customer
Tags for the object, format :e.g. 'category:Home Apparel'
Additional fields for the return registration
Verification code (e.g. zip/email) used for this return registration
POST /v4/returns/return-registrations/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 486
{
"account": 161912,
"code": "de-de",
"reference": "O-123123",
"external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
"original_courier": "dhl-germany",
"order_date": "2019-08-24T14:15:22Z",
"order_currency": "EUR",
"order_total_amount": "12.12",
"order_payment_method": [
"gift-card"
],
"customer_email": "[email protected]",
"customer_salutation": "mr",
"customer_first_name": "Foo",
"customer_last_name": "Bar",
"customer_country_iso3": "DEU",
"mutations": [
{
"type": "add_label",
"request": {
"courier": "dhl-germany"
}
}
]
}
{
"account": 161912,
"code": "de-de",
"reference": "O-123123",
"external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
"original_courier": "dhl-germany",
"order_date": "2019-08-24T14:15:22Z",
"order_currency": "EUR",
"order_total_amount": "12.12",
"order_payment_method": [
"gift-card"
],
"customer_email": "[email protected]",
"customer_salutation": "mr",
"customer_first_name": "Foo",
"customer_last_name": "Bar",
"customer_country_iso3": "DEU"
}
Create a Return Registration via Order Information
You can generate a new return registration for your account from the order details using the v4/returns/return-registrations/lookup-order
endpoint.
Return 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.
The account ID to create this return registration on.
Configuration code (unique identifier of the return portal or configuration used for this return
POST /v4/returns/return-registrations/lookup-order/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"account": 1,
"code": "text",
"identifier": {
"reference": "text",
"identifier": "text"
}
}
{
"account": 1,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"return_labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"created_at": "2025-10-11T19:34:53.524Z",
"updated_at": "2025-10-11T19:34:53.524Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
Update a Return Registration
You can update a specific return registration using the v4/returns/return-registrations/{external_id}
endpoint.
Return 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.
Unique identifier for this return registration, generated by parcelLab
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Retailer reference, e.g. the order number, not unique
Unique identifier for this return registration, generated by parcelLab
Additional identifier (e.g. shop system id) for this return registration, generated by the retailer
If true, the registration has been submitted. This is a read-only field.
created
- Createdsubmitted
- Submittedpending_approval
- Pending Approvalapproved
- Approvedrejected
- Rejectedcancelled
- Cancelledclosed
- Closedprocessing_failed
- Processing Failed
created
- Createdsubmitted
- Submittedpending_approval
- Pending Approvalapproved
- Approvedrejected
- Rejectedcancelled
- Cancelledclosed
- Closedprocessing_failed
- Processing Failed
Reason for the current status
Date of the order
Currency of the order, e.g. USD, EUR (ISO 4217)
Total amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$
Date of the order delivery
Date of the order shipment
Payment method used for the order, as setup as reference items in the accounts configuration
ISO 639-1 language code of the recipient, if known, required for localized communication
Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.
Customer phone number
ISO 3166-1 alpha-3 code of country
Refund method selected by customer
Tags for the object, format :e.g. 'category:Home Apparel'
Additional fields for the return registration
Verification code (e.g. zip/email) used for this return registration
PUT /v4/returns/return-registrations/{external_id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 3132
{
"account": 1,
"code": "text",
"version": null,
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
{
"account": 1,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"return_labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"created_at": "2025-10-11T19:34:53.524Z",
"updated_at": "2025-10-11T19:34:53.524Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
Partially Update a Return Registration
You can partially update a specific return registration using the v4/returns/return-registrations/{external_id}
endpoint.
Return 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.
Unique identifier for this return registration, generated by parcelLab
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Retailer reference, e.g. the order number, not unique
Unique identifier for this return registration, generated by parcelLab
Additional identifier (e.g. shop system id) for this return registration, generated by the retailer
If true, the registration has been submitted. This is a read-only field.
created
- Createdsubmitted
- Submittedpending_approval
- Pending Approvalapproved
- Approvedrejected
- Rejectedcancelled
- Cancelledclosed
- Closedprocessing_failed
- Processing Failed
created
- Createdsubmitted
- Submittedpending_approval
- Pending Approvalapproved
- Approvedrejected
- Rejectedcancelled
- Cancelledclosed
- Closedprocessing_failed
- Processing Failed
Reason for the current status
Date of the order
Currency of the order, e.g. USD, EUR (ISO 4217)
Total amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$
Date of the order delivery
Date of the order shipment
Payment method used for the order, as setup as reference items in the accounts configuration
ISO 639-1 language code of the recipient, if known, required for localized communication
Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.
Customer phone number
ISO 3166-1 alpha-3 code of country
Refund method selected by customer
Tags for the object, format :e.g. 'category:Home Apparel'
Additional fields for the return registration
Verification code (e.g. zip/email) used for this return registration
PATCH /v4/returns/return-registrations/{external_id}/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 3132
{
"account": 1,
"code": "text",
"version": null,
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
{
"account": 1,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"return_labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"created_at": "2025-10-11T19:34:53.524Z",
"updated_at": "2025-10-11T19:34:53.524Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
Modify a Return Registration
You can use the available mutations (for example: generate a label) to update a specific return registration using the v4/returns/return-registrations/{external_id}/mutate
endpoint.
Mutate this return registration with one of the available mutations
Unique identifier for this return registration, generated by parcelLab
Update (mutate) a return registration
POST /v4/returns/return-registrations/{external_id}/mutate/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 675
{
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
{
"account": 1,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"return_labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"created_at": "2025-10-11T19:34:53.524Z",
"updated_at": "2025-10-11T19:34:53.524Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
Modify Return Registrations
You can use the available mutations (for example: generate a label) to update return registrations using the v4/returns/return-registrations/mutate
endpoint.
Return 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.
Update (mutate) a return registration
POST /v4/returns/return-registrations/mutate/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 425
{
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "update_article_status",
"account": 1,
"request": {
"identifier": "text",
"identifier_type": "reference",
"tracking_number": "text",
"article_status_updates": [
{
"identifier": "text",
"identifier_type": "product_id",
"accepted_quantity": 0,
"rejected_quantity": 0,
"reason": "text"
}
]
}
}
]
}
{
"account": 1,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"status": "created",
"status_reason": "text",
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "[email protected]",
"customer_phone": "text",
"customer_salutation": "text",
"customer_first_name": "text",
"customer_last_name": "text",
"customer_country_iso3": "text",
"customer_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"articles_order": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"articles_return": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"return_reason": "text",
"return_reason_pretty": "text",
"return_quantity": 1,
"problem_description": "text",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"compensation_method": "text",
"accepted_quantity": 1,
"rejected_quantity": 1,
"status_reason": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"return_labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {},
"verification_code_used": "text",
"created_at": "2025-10-11T19:34:53.524Z",
"updated_at": "2025-10-11T19:34:53.524Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"type": "add_label",
"request": {
"type": "shipping",
"courier": "text",
"tracking_number": "text",
"service_level": "text",
"destination_id": "text",
"destination_address": {
"first_name": "text",
"last_name": "text",
"company_name": "text",
"address_line": "text",
"address_line_extra": "text",
"postal_code": "text",
"city": "text",
"country_iso3": "text",
"region_code": "text",
"phone": "text"
},
"template_id": "text",
"flags": [
"has_dangerous_goods"
],
"types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}
]
}
Get Returns Article Information
You can retrieve the article information for a specific return registration using the v4/returns/return-registrations/{external_id}/article-info
endpoint.
Retrieve all article rules for the return registration
Unique identifier for this return registration, generated by parcelLab
Set to true
to preview behavior using unpublished configuration changes (e.g., article rules or courier options).
false
GET /v4/returns/return-registrations/{external_id}/article-info/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"article_returnability": [
{
"article": {
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"reasons": [
{
"type": "text",
"code": "text",
"path": "text",
"name": "text",
"name_localized": "text",
"note": "text",
"problem_description": "none",
"problem_description_min_length": 0,
"image_upload": "none",
"shopify_return_reason": "text",
"tags": [
"warranty-exclude"
]
}
],
"periods": {
"trial_period_days": 1,
"grace_period_days": 1,
"warranty_period_days": 1,
"is_in_trial_period": false,
"is_in_warranty_period": false
},
"has_compensation": true,
"compensation_methods": [
{
"category": "text",
"description": "text",
"description_localized": "text",
"external_code": "text",
"tags": [
"warranty-exclude"
]
}
],
"article_filters": [
{
"flag": "hidden",
"keep_article_max_limit": 1
}
]
}
],
"article_selection": [
{
"line_item_id": "text",
"selected": false,
"return_quantity": 0,
"return_reason": "text",
"problem_description": "",
"compensation_method": "text",
"article_images": [
"text"
],
"exchange_product_options": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"refund_methods": [
{
"code": "text",
"type": "original-payment-method",
"code_localized": "text",
"hint_localized": ""
}
],
"line_items_by_flag": [
{
"articles": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"flag": "out_of_returnable_period",
"title_localized": "text",
"description_localized": "text"
}
],
"split_returns_data": {
"ANY_ADDITIONAL_PROPERTY": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
}
Partially Update Returns Article Information
You can partially update the article information for a specific return registration using the v4/returns/return-registrations/{external_id}/article-info
endpoint.
Return 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.
Unique identifier for this return registration, generated by parcelLab
Set to true
to preview behavior using unpublished configuration changes (e.g., article rules or courier options).
false
Update the selection of articles for a return registration
Whether to commit the changes to the return registration (defaults to false, convenience flag clients)
false
PATCH /v4/returns/return-registrations/{external_id}/article-info/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 261
{
"articles_return": [
{
"line_item_id": "text",
"selected": true,
"return_quantity": 0,
"return_reason": "text",
"problem_description": "",
"compensation_method": "text",
"article_images": [
"text"
],
"exchange_product_options": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"commit": false
}
{
"article_returnability": [
{
"article": {
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"reasons": [
{
"type": "text",
"code": "text",
"path": "text",
"name": "text",
"name_localized": "text",
"note": "text",
"problem_description": "none",
"problem_description_min_length": 0,
"image_upload": "none",
"shopify_return_reason": "text",
"tags": [
"warranty-exclude"
]
}
],
"periods": {
"trial_period_days": 1,
"grace_period_days": 1,
"warranty_period_days": 1,
"is_in_trial_period": false,
"is_in_warranty_period": false
},
"has_compensation": true,
"compensation_methods": [
{
"category": "text",
"description": "text",
"description_localized": "text",
"external_code": "text",
"tags": [
"warranty-exclude"
]
}
],
"article_filters": [
{
"flag": "hidden",
"keep_article_max_limit": 1
}
]
}
],
"article_selection": [
{
"line_item_id": "text",
"selected": false,
"return_quantity": 0,
"return_reason": "text",
"problem_description": "",
"compensation_method": "text",
"article_images": [
"text"
],
"exchange_product_options": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"refund_methods": [
{
"code": "text",
"type": "original-payment-method",
"code_localized": "text",
"hint_localized": ""
}
],
"line_items_by_flag": [
{
"articles": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"flag": "out_of_returnable_period",
"title_localized": "text",
"description_localized": "text"
}
],
"split_returns_data": {
"ANY_ADDITIONAL_PROPERTY": [
{
"version": "v1",
"line_item_id": "text",
"product_id": "text",
"sku": "text",
"order_item_id": "text",
"article_name": "text",
"article_category": "text",
"article_store_url": "text",
"article_image_url": "text",
"article_brand": "text",
"size": "text",
"color": "text",
"width": 1,
"height": 1,
"length": 1,
"length_unit": "cm",
"weight": 1,
"weight_unit": "g",
"unit_price": "text",
"quantity": 1,
"amount_invoiced": "text",
"origin_country_iso3": "text",
"is_bulky": false,
"tags": [
"text"
],
"additional_attributes": [
{
"key": "text",
"value": null
}
],
"reference_date_for_return": "2025-10-11",
"reference_date_type": "order_date",
"fulfillment": "text",
"quantity_returned": 1,
"delivered_date": "2025-10-11",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
}
Get Return Options
You can retrieve the carrier details for a specific return registration using the v4/returns/return-registrations/{external_id}/return-options
endpoint.
Retrieve all courier information for the return registration
Unique identifier for this return registration, generated by parcelLab
Set to true
to preview behavior using unpublished configuration changes (e.g., article rules or courier options).
false
GET /v4/returns/return-registrations/{external_id}/return-options/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"option_code": "",
"identifier": "",
"title": "",
"description": "",
"download_label_instructions": "",
"download_separate_label_instructions": "",
"download_label_button": "",
"download_packing_slip_instructions": "",
"download_packing_slip_button": "",
"qr_code_instructions": "",
"download_qr_code_button": "",
"additional_label": null,
"variants": [
{
"type": "pick-up",
"title": "text",
"description": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
Assign Return Options
You can apply the carrier details for a specific return registration using the v4/returns/return-registrations/{external_id}/return-options
endpoint.
Return 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.
Unique identifier for this return registration, generated by parcelLab
POST /v4/returns/return-registrations/{external_id}/return-options/ HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"options_selected": [
{
"id": 1,
"index": 0
}
]
}
{
"labels": [
{
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2025-10-11T19:34:53.524Z"
}
],
"destination_id": "text",
"line_item_ids": [
"text"
],
"is_free_label": false,
"label_cost_amount": "0.0",
"tracking_id": "text",
"external_reference": "text",
"delivery_status": "Pending",
"pickup_date": "2025-10-11",
"pickup_time": "19:34:53",
"is_pickup": false
}
]
}
Was this helpful?