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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
Multiple values may be separated by commas.
Multiple values may be separated by commas.
Multiple values may be separated by commas.
The pagination cursor value.
Multiple values may be separated by commas.
Multiple values may be separated by commas.
Number of results to return per page.
Order results by any response field. Prefix with - for descending (e.g. -id).
Multiple values may be separated by commas.
Repeat this parameter to filter by multiple pretty return reasons.
Multiple values may be separated by commas.
http://api.example.org/accounts/?cursor=cD00ODY%3D"http://api.example.org/accounts/?cursor=cj0xJnA9NDg3GET /v4/returns/return-registrations/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Accept: */*
{
"next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
"previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3",
"results": [
{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}
]
}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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
GET /v4/returns/return-registrations/{external_id}/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Accept: */*
{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}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
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
Set to true to use the test environment for carrier integration.
falseSet to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).
falseCreate backend tracking for this registration before it is submitted.
falseRun returns_order_init_v2 apps after creation.
falseRepresents 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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
POST /v4/returns/return-registrations/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_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": "user@example.com",
"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": "user@example.com",
"customer_salutation": "mr",
"customer_first_name": "Foo",
"customer_last_name": "Bar",
"customer_country_iso3": "DEU",
"additional_fields": {
"reference_number": "REF-12345",
"accept_terms": true,
"checkout_context": {
"channel": "web",
"locale": "de-DE"
}
}
}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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).
falseThe account ID to create this return registration on.
Configuration code (unique identifier of the return portal or configuration used for this return
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
POST /v4/returns/return-registrations/lookup-order/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"account": 1,
"code": "text",
"identifier": {
"reference": "text",
"identifier": "text"
}
}{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
PUT /v4/returns/return-registrations/{external_id}/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2271
{
"account": 1,
"config": null,
"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_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "name@gmail.com",
"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"
},
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
PATCH /v4/returns/return-registrations/{external_id}/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2271
{
"account": 1,
"config": null,
"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_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"customer_email": "name@gmail.com",
"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"
},
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}Modify a Return Registration
You can use the available mutations to update a specific return registration using the v4/returns/return-registrations/{external_id}/mutate endpoint. Use this endpoint for registration-specific actions such as adding a label, updating selected items, closing a submitted return with close_return, or canceling a return. For close-return request examples, see Process Return Mutations.
Mutate this return registration with one of the available mutations
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseUpdate (mutate) a return registration
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
POST /v4/returns/return-registrations/{external_id}/mutate/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 721
{
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}Modify Return Registrations
You can use collection mutations to update return registrations using the v4/returns/return-registrations/mutate endpoint. This endpoint can update article receive status for a return registration, but it does not close the return registration or trigger refund/exchange processing. To close a return, use the registration-specific v4/returns/return-registrations/{external_id}/mutate endpoint with a close_return mutation. For examples of both patterns, see Process Return Mutations.
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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
Update (mutate) a return registration
Represents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
POST /v4/returns/return-registrations/mutate/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 878
{
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"text"
]
},
"type": "update_article_status",
"account": 1,
"request": {
"identifier": "text",
"identifier_type": "reference",
"tracking_number": "text",
"article_status_updates": [
{
"fulfillment": "text",
"identifier": "text",
"identifier_type": "product_id",
"accepted_quantity": 0,
"rejected_quantity": 0,
"reason": "text",
"restock": false,
"status_reason_code": "missing_quantity",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
]
}
],
"receive_status": {
"received_by": "",
"received_at": "2026-01-01T00:00:00.000Z",
"status": "partially_received",
"receive_note": "text",
"receive_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"is_fully_received": true,
"label_notes": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
]
}{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}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
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseTrue if split returns is enabled and there are multiple groups to choose from
falseGET /v4/returns/return-registrations/{external_id}/article-info/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Accept: */*
{
"article_returnability": [
{
"article": {
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
},
"reasons": [
{
"id": 1,
"type": "text",
"code": "text",
"path": "text",
"name": "text",
"name_localized": "text",
"is_default": false,
"is_fallback": false,
"note_localized": "",
"note": "text",
"problem_description": "none",
"problem_description_min_length": 0,
"problem_description_max_length": 1000,
"image_upload": "none",
"shopify_return_reason": "text",
"tags": [
"warranty-exclude"
],
"path_segments": [
"text"
]
}
],
"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": "refund",
"description": "text",
"description_localized": "text",
"external_code": "text",
"tags": [
"warranty-exclude"
],
"exchange_variant_policy": "any_eligible_variant"
}
],
"article_filters": [
{
"flag": "hidden",
"keep_article_max_limit": 1,
"display_group": ""
}
],
"article_selection_fields": [
null
],
"claimed_quantity": 0
}
],
"article_selection": [
{
"fulfillment": "text",
"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"
},
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"refund_methods": [
{
"code": "text",
"type": "original-payment-method",
"code_localized": "text",
"hint_localized": ""
}
],
"line_items_by_flag": [
{
"articles": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"flag": "already_returned",
"display_group": "text",
"title_localized": "text",
"description_localized": "text",
"display_groups": [
{
"group_id": "text",
"title": "text",
"sku": "text",
"parent_quantity": 1,
"parent_product_id": "text",
"parent_article_image_url": "text",
"entries": [
{
"fulfillment": "text",
"line_item_id": "text",
"index": 1,
"children": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
],
"selection_mode": "individual"
}
]
}
],
"article_display_groups": [
{
"group_id": "text",
"title": "text",
"sku": "text",
"parent_quantity": 1,
"parent_product_id": "text",
"parent_article_image_url": "text",
"entries": [
{
"fulfillment": "text",
"line_item_id": "text",
"index": 1,
"children": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
],
"selection_mode": "individual"
}
],
"split_groups": [
{
"key": "text",
"display_name": "text",
"articles": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
],
"requires_split_group_selection": false
}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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseUpdate the selection of articles for a return registration
Whether to commit the changes to the return registration (defaults to false, convenience flag clients)
falseTrue if split returns is enabled and there are multiple groups to choose from
falsePATCH /v4/returns/return-registrations/{external_id}/article-info/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 336
{
"articles_return": [
{
"fulfillment": "text",
"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"
},
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"commit": false
}{
"article_returnability": [
{
"article": {
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
},
"reasons": [
{
"id": 1,
"type": "text",
"code": "text",
"path": "text",
"name": "text",
"name_localized": "text",
"is_default": false,
"is_fallback": false,
"note_localized": "",
"note": "text",
"problem_description": "none",
"problem_description_min_length": 0,
"problem_description_max_length": 1000,
"image_upload": "none",
"shopify_return_reason": "text",
"tags": [
"warranty-exclude"
],
"path_segments": [
"text"
]
}
],
"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": "refund",
"description": "text",
"description_localized": "text",
"external_code": "text",
"tags": [
"warranty-exclude"
],
"exchange_variant_policy": "any_eligible_variant"
}
],
"article_filters": [
{
"flag": "hidden",
"keep_article_max_limit": 1,
"display_group": ""
}
],
"article_selection_fields": [
null
],
"claimed_quantity": 0
}
],
"article_selection": [
{
"fulfillment": "text",
"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"
},
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"refund_methods": [
{
"code": "text",
"type": "original-payment-method",
"code_localized": "text",
"hint_localized": ""
}
],
"line_items_by_flag": [
{
"articles": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"flag": "already_returned",
"display_group": "text",
"title_localized": "text",
"description_localized": "text",
"display_groups": [
{
"group_id": "text",
"title": "text",
"sku": "text",
"parent_quantity": 1,
"parent_product_id": "text",
"parent_article_image_url": "text",
"entries": [
{
"fulfillment": "text",
"line_item_id": "text",
"index": 1,
"children": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
],
"selection_mode": "individual"
}
]
}
],
"article_display_groups": [
{
"group_id": "text",
"title": "text",
"sku": "text",
"parent_quantity": 1,
"parent_product_id": "text",
"parent_article_image_url": "text",
"entries": [
{
"fulfillment": "text",
"line_item_id": "text",
"index": 1,
"children": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
],
"selection_mode": "individual"
}
],
"split_groups": [
{
"key": "text",
"display_name": "text",
"articles": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
],
"requires_split_group_selection": false
}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
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseGET /v4/returns/return-registrations/{external_id}/return-options/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Accept: */*
{
"return_options": [
{
"option_code": "text",
"identifier": "",
"name": "text",
"label_cost": "0",
"rate_metadata": {
"position": 1,
"percentage_above_cheapest": 1,
"price": {
"amount": "text",
"currency": "text"
}
},
"is_free_label": false,
"is_pickup": false,
"visibility": "available",
"next_best_location": "",
"retention_offer": {
"percentage": "text",
"refund_method_code": "text"
},
"logo_image_url": "text",
"pickup_date_selection": true,
"pickup_options": {
"maxDays": 14,
"excludeSaturday": false,
"excludeSunday": true,
"excludePublicHolidays": false
},
"supports_pickup_dates_query": false,
"supports_pickup_rescheduling": false,
"supports_pickup_cancellation": false,
"provides_label": true,
"service_level": "text",
"is_temporarily_disabled": false,
"is_disabled_reason": "",
"key": "text",
"title": "text",
"description": "text"
}
]
}Get Carrier Pickup Availability
You can retrieve the pickup availability of a carrier option for a return registration using the v4/returns/return-registrations/{external_id}/return-options/pickup-availability 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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseReturn option key from GET /return-options/.
GET /v4/returns/return-registrations/{external_id}/return-options/pickup-availability/?key=text HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Accept: */*
{
"kind": "single",
"options": [
{
"kind": "single",
"pickupDate": "2026-01-01",
"pickupWindowOptions": [
{
"label": "text",
"earliestTimeOption": "text",
"latestTimeOption": "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.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falsePOST /v4/returns/return-registrations/{external_id}/return-options/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 174
{
"options_selected": [
{
"key": "text",
"pickup": {
"pickup_date": "2026-01-01",
"pickup_time": "text",
"earliest_pickup_time": "text",
"latest_pickup_time": "text",
"safe_place": "text"
}
}
]
}{
"labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
]
}Submit Return Registration
You can submit a return registration using the v4/returns/return-registrations/{external_id}/submit endpoint.
Submits the return registration: creates a return order, optionally creates an exchange draft order, submits return fulfillments (trackings), marks the registration as submitted. Submission is skipped for registrations with dev-mode draft flag.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseRequest body for submitting a return registration.
commit defaults to true. When set to false, the endpoint will persist local changes but skip external side effects (no backend queue, no shop API calls).
trueRepresents a return registration
Account, that is linked to this registration.
Configuration code of the return configuration
Name of the client, as configured in account setup.
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
created- Createdpending_payment- Pending Paymentsubmitted- Submittedpending_approval- Pending Approvalpending_label- Pending Labelapproved- Approvedrejected- Rejectedcancelled- Cancelledclosed- Closedprocessing_failed- Processing Failedinvalid- Invalid
Reason for the current status
return- Returnclaim- Claim
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})?$Total shipping amount of the original order
^-?\d{0,8}(?:\.\d{0,2})?$Total tax 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
Destination that articles without their own destination_id return to.
Refund method selected by customer
Order level tags.
Verification code (e.g. zip/email) used for this return registration
Date(-time) when the customer submitted the return registration.
POST /v4/returns/return-registrations/{external_id}/submit/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"commit": true
}{
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
}Get Return Status
You can retrieve the return status for a return registration using the v4/returns/return-registrations/{external_id}/status endpoint.
Retrieve the derived customer-facing status of the return.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseDerived customer-facing state of the return, consolidating the registration status, label tracking stages and retention offers.
Merchant-configured description for the current registration status, if any.
True while return labels are usable and no parcel has been handed over to the carrier yet.
True if the customer can still cancel this return.
True if the customer accepted an offer to keep the items.
GET /v4/returns/return-registrations/{external_id}/status/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Accept: */*
{
"return_status": "cancelled",
"description": "text",
"labels_available": true,
"cancellable": true,
"retention_offer_applied": true,
"refund_information": {
"currency": "text",
"final_refund_amount": "text",
"final_charge_amount": "text",
"refund_tax_amount": "text",
"settlement_kind": "refund"
}
}Receive a Return Label
You can record the receipt of one return label from a return registration without closing the return registration using the v4/returns/return-registrations/{external_id}/receive-label endpoint.
Record receipt of one label without closing the return registration.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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""Receive status data stored when a return is processed via the staff receive flow.
Identifier of the operator or station that received the return.
""Timestamp when the return was fully received.
nullOverall receive status for the return.
partially_receivedPossible values: Optional note recorded during receive.
nullWhether the return is fully processed in receive flow.
truePOST /v4/returns/return-registrations/{external_id}/receive-label/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"tracking_id": "text",
"note": ""
}{
"received_by": "",
"received_at": "2026-01-01T00:00:00.000Z",
"status": "partially_received",
"receive_note": "text",
"receive_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"is_fully_received": true,
"label_notes": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}Receive and Close a Return Registration
You can record the receipt of a return and close the return registration using the v4/returns/return-registrations/{external_id}/receive endpoint.
Record received item outcomes and close the return registration.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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""""POST /v4/returns/return-registrations/{external_id}/receive/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 317
{
"tracking_id": "",
"note": "",
"articles": [
{
"fulfillment": "text",
"identifier": "text",
"identifier_type": "product_id",
"accepted_quantity": 0,
"rejected_quantity": 0,
"reason": "text",
"restock": false,
"status_reason_code": "missing_quantity",
"condition": "text",
"article_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
]
}
]
}{
"registration": {
"account": 1,
"config": null,
"code": "text",
"version": null,
"client_key": "text",
"reference": "text",
"external_id": "123e4567-e89b-12d3-a456-426614174000",
"external_reference": "text",
"display_name": "text",
"sequence_number": "text",
"status": "created",
"status_reason": "text",
"source": "return",
"cancellable": true,
"closable": true,
"original_courier": "text",
"original_order_id": null,
"order_date": null,
"order_currency": "text",
"order_total_amount": null,
"order_shipping_amount": null,
"order_tax_amount": null,
"order_delivery_date": null,
"order_shipping_date": null,
"order_payment_method": [
"text"
],
"language_iso2": "text",
"is_gift_returns_portal": true,
"customer_email": "name@gmail.com",
"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"
},
"customer": "text",
"destinations": [
{
"id": "text",
"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"
}
}
],
"destination_id": null,
"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"
}
],
"item_count": 1,
"return_labels": [
{
"source": "generated",
"courier": "text",
"service_level": "text",
"tracking_number": "text",
"type": "shipping",
"flags": [
"is_cancellable"
],
"documents": [
{
"url": "text",
"content_type": "application/pdf",
"type": [
"label"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"locations_url": "text",
"locations": [
{
"name": "text",
"address": "text",
"distance_km": 1,
"distance_miles": 1,
"latitude": 1,
"longitude": 1,
"opening_hours": [
{
"day": [
1
],
"open": "text",
"close": "text"
}
],
"has_opening_hours": false
}
],
"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": "2026-01-01",
"earliest_pickup_time": "00:00:00",
"latest_pickup_time": "00:00:00",
"pickup_confirmation_code": "text",
"safe_place": "text",
"is_pickup": false,
"configuration_id": 1,
"group_code": "text",
"courier_code_overwrite": "text",
"barcode_data": "text",
"courier_reference_number": "text"
}
],
"refund_method": "text",
"tags": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"verification_code_used": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"submitted_at": null,
"updated_at": "2026-01-01T00:00:00.000Z",
"mutations": [
{
"operation_id": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"success": false,
"message": "",
"errors": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"warnings": [
"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"
],
"label_types": [
"code"
],
"line_item_ids": [
"text"
],
"additional_fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"weight_in_grams": 1
}
}
]
},
"receive_status": {
"received_by": "",
"received_at": "2026-01-01T00:00:00.000Z",
"status": "partially_received",
"receive_note": "text",
"receive_images": [
{
"url": "text",
"name": "text",
"mime_type": "text"
}
],
"is_fully_received": true,
"label_notes": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}Get Exchange Product Options
You can retrieve or validate available exchange product options using the v4/returns/return-registrations/{external_id}/exchange-product-options endpoint.
Retrieves all product options that are available for creating exchanges.
Also provide availability for partial exchange options. When partial options are passed, invalid ones are ignored and only the available options are returned. Results are keyed by retailer line-item ID. Shipment batches sharing an ID can be requested together when their results match. Otherwise request them separately, supplying fulfillment for each batch. This is a read-only call to the Shopify API and does not perform any updates.
Send Authorization: Parcellab-API-Token <encoded-token>.
<encoded-token> = base64(account_id:token) as provided in the portal.
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).
falseList of return article selections
Product Options for LineItem Selected for Exchange
Map of line_item_id to variant options
POST /v4/returns/return-registrations/{external_id}/exchange-product-options/ HTTP/1.1
Host: api.parcellab.com
Authorization: Parcellab-API-Token YOUR_BASE64_ENCODED_API_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 321
{
"articles_return": [
{
"fulfillment": "text",
"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"
},
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": [
{
"name": "text",
"is_available": true
}
]
}
}Last updated
Was this helpful?