Skip to content
You're viewing the API v4 documentation, recommended for new integrations.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

List Return Registration

get

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Query parameters
accountinteger[]Optional
clientinteger[]Optional

Multiple values may be separated by commas.

compensation_methodstring[]Optional

Multiple values may be separated by commas.

courierstring[]Optional

Multiple values may be separated by commas.

created_at_afterstring · date-timeOptional
created_at_beforestring · date-timeOptional
cursorstringOptional

The pagination cursor value.

customer_country_iso3string[]Optional

Multiple values may be separated by commas.

customer_emailstringOptional
customer_postal_codestringOptional
external_idstring · uuidOptional
external_referencestringOptional
is_pickupbooleanOptional
language_iso2string[]Optional

Multiple values may be separated by commas.

limitintegerOptional

Number of results to return per page.

order_date_afterstring · date-timeOptional
order_date_beforestring · date-timeOptional
orderingstringOptional

Order results by any response field. Prefix with - for descending (e.g. -id).

original_order_idstringOptional
referencestringOptional
refund_methodstring[]Optional

Multiple values may be separated by commas.

return_idintegerOptional
return_reasonstringOptional
return_reason_prettystring[]Optional

Repeat this parameter to filter by multiple pretty return reasons.

returns_portal_codestring[]Optional

Multiple values may be separated by commas.

searchstringOptional
tagsstringOptional
tracking_numberstringOptional
updated_at_afterstring · date-timeOptional
updated_at_beforestring · date-timeOptional
Responses
200Success
application/json
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?cursor=cD00ODY%3D"
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?cursor=cj0xJnA9NDg3
get/v4/returns/return-registrations/
GET /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.

Retrieve Return Registration

get

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Responses
200Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
get/v4/returns/return-registrations/{external_id}/
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.

Register Return

post

Create a new return registration

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Query parameters
courier_testingbooleanOptional

Set to true to use the test environment for carrier integration.

Default: false
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
pre_register_backend_trackingbooleanOptional

Create backend tracking for this registration before it is submitted.

Default: false
return_init_v2booleanOptional

Run returns_order_init_v2 apps after creation.

Default: false
Body

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · min: 1 · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
referencestring · min: 1 · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

customer_emailany of · min: 1Required

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

Responses
201Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
post/v4/returns/return-registrations/
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.

Create Return Registration (from order)

post

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.

Authorizations
AuthorizationstringOptional

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body
accountintegerRequired

The account ID to create this return registration on.

codestringRequired

Configuration code (unique identifier of the return portal or configuration used for this return

Responses
200Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
post/v4/returns/return-registrations/lookup-order/
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.

Update Return Registration

put

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Body

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · min: 1 · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
referencestring · min: 1 · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

customer_emailany of · min: 1Required

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

Responses
200Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
put/v4/returns/return-registrations/{external_id}/
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.

Partially Update Return Registration

patch

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Body

Represents a return registration

accountintegerOptional

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · min: 1 · max: 255Optional

Configuration code of the return configuration

versionstring · nullableOptional
referencestring · min: 1 · max: 255Optional

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

customer_emailany of · min: 1Optional

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofOptional
or
object · EmptyOptional
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

Responses
200Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
patch/v4/returns/return-registrations/{external_id}/
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 Return Registration

post

Mutate this return registration with one of the available mutations

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body

Update (mutate) a return registration

Responses
200Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
post/v4/returns/return-registrations/{external_id}/mutate/
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.

Mutate Return Registration (Batch)

post

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Body

Update (mutate) a return registration

Responses
200Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
post/v4/returns/return-registrations/mutate/
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 Article Info

get

Retrieve all article rules for the return registration

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Responses
200Success
application/json
requires_split_group_selectionbooleanOptional

True if split returns is enabled and there are multiple groups to choose from

Default: false
get/v4/returns/return-registrations/{external_id}/article-info/
GET /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.

Validate Article Info (Return items)

patch

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body

Update the selection of articles for a return registration

commitbooleanOptional

Whether to commit the changes to the return registration (defaults to false, convenience flag clients)

Default: false
Responses
200Success
application/json
requires_split_group_selectionbooleanOptional

True if split returns is enabled and there are multiple groups to choose from

Default: false
patch/v4/returns/return-registrations/{external_id}/article-info/
PATCH /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 Return Options

get

Retrieve all courier information for the return registration

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Responses
200Success
application/json
get/v4/returns/return-registrations/{external_id}/return-options/
GET /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.

Retrieve Pickup Availability

get

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
keystringRequired

Return option key from GET /return-options/.

Responses
200Success
application/json
or
or
get/v4/returns/return-registrations/{external_id}/return-options/pickup-availability/
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.

Apply Return Option

post

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body
Responses
200Success
application/json
post/v4/returns/return-registrations/{external_id}/return-options/
POST /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.

Submit Return Registration

post

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body

Request 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).

commitbooleanOptionalDefault: true
Responses
200Success
application/json

Represents a return registration

accountintegerRequired

Account, that is linked to this registration.

configinteger · nullableOptional
codestring · max: 255Required

Configuration code of the return configuration

versionstring · nullableOptional
client_keystringRead-onlyRequired

Name of the client, as configured in account setup.

referencestring · max: 255Required

Retailer reference, e.g. the order number, not unique

external_idstring · uuidOptional

Unique identifier for this return registration, generated by parcelLab

external_referencestring · max: 255Optional

Additional identifier (e.g. shop system id) for this return registration, generated by the retailer

display_namestringRead-onlyRequired
sequence_numberstringRead-onlyRequired
statusstring · enumOptional
  • created - Created
  • pending_payment - Pending Payment
  • submitted - Submitted
  • pending_approval - Pending Approval
  • pending_label - Pending Label
  • approved - Approved
  • rejected - Rejected
  • cancelled - Cancelled
  • closed - Closed
  • processing_failed - Processing Failed
  • invalid - Invalid
Possible values:
status_reasonstring · max: 255Optional

Reason for the current status

sourcestring · enumRequired
  • return - Return
  • claim - Claim
Possible values:
cancellablebooleanRead-onlyRequired
closablebooleanRead-onlyRequired
original_courierstring · max: 255Optional
original_order_idstring · max: 255 · nullableOptional
order_datestring · nullableOptional

Date of the order

order_currencystring · max: 3Optional

Currency of the order, e.g. USD, EUR (ISO 4217)

order_total_amountstring · nullableOptional

Total amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_shipping_amountstring · nullableOptional

Total shipping amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_tax_amountstring · nullableOptional

Total tax amount of the original order

Pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
order_delivery_datestring · nullableOptional

Date of the order delivery

order_shipping_datestring · nullableOptional

Date of the order shipment

order_payment_methodstring[]Optional

Payment method used for the order, as setup as reference items in the accounts configuration

language_iso2string · max: 3Optional

ISO 639-1 language code of the recipient, if known, required for localized communication

is_gift_returns_portalbooleanRead-onlyRequired
customer_emailany ofRequired

Customers email address, must be provided, in case email is not known or should be unset, use the literal string '_unset' instead.

string · emailOptional
or
const: _unsetOptionalPossible values:
customer_phonestring · max: 255Optional

Customer phone number

customer_salutationstring · max: 255Optional
customer_first_namestring · max: 255Optional
customer_last_namestring · max: 255Optional
customer_country_iso3string · max: 3Optional

ISO 3166-1 alpha-3 code of country

customer_addressany ofRequired
or
object · EmptyOptional
customerstringRead-onlyRequired
destination_idstring · max: 255 · nullableOptional

Destination that articles without their own destination_id return to.

item_countintegerRead-onlyRequired
refund_methodstring · max: 255Optional

Refund method selected by customer

tagsstring[]Optional

Order level tags.

verification_code_usedstring · max: 255Optional

Verification code (e.g. zip/email) used for this return registration

created_atstring · date-timeRead-onlyRequired
submitted_atstring · nullableRead-onlyRequired

Date(-time) when the customer submitted the return registration.

updated_atstring · date-timeRead-onlyRequired
post/v4/returns/return-registrations/{external_id}/submit/
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 Return Status

get

Retrieve the derived customer-facing status of the return.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Responses
200Success
application/json
return_statusstring · enumRequired

Derived customer-facing state of the return, consolidating the registration status, label tracking stages and retention offers.

Possible values:
descriptionstring · nullableRequired

Merchant-configured description for the current registration status, if any.

labels_availablebooleanRequired

True while return labels are usable and no parcel has been handed over to the carrier yet.

cancellablebooleanRequired

True if the customer can still cancel this return.

retention_offer_appliedbooleanRequired

True if the customer accepted an offer to keep the items.

get/v4/returns/return-registrations/{external_id}/status/
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.

Receive one return label

post

Record receipt of one label without closing the return registration.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body
tracking_idstring · min: 1Required
notestringOptionalDefault: ""
Responses
200Success
application/json

Receive status data stored when a return is processed via the staff receive flow.

received_bystringOptional

Identifier of the operator or station that received the return.

Default: ""
received_atstring · date-time · nullableOptional

Timestamp when the return was fully received.

Default: null
statusstring · enumOptional

Overall receive status for the return.

Default: partially_receivedPossible values:
receive_notestring · nullableOptional

Optional note recorded during receive.

Default: null
is_fully_receivedbooleanOptional

Whether the return is fully processed in receive flow.

Default: true
post/v4/returns/return-registrations/{external_id}/receive-label/
POST /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.

Receive and close a return registration

post

Record received item outcomes and close the return registration.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body
tracking_idstringOptionalDefault: ""
notestringOptionalDefault: ""
Responses
200Success
application/json
post/v4/returns/return-registrations/{external_id}/receive/
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.

Retrieve or validate exchange product options

post

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.

Authorizations
AuthorizationstringRequired

Send Authorization: Parcellab-API-Token <encoded-token>.

<encoded-token> = base64(account_id:token) as provided in the portal.

Path parameters
external_idstring · uuidRequired

Unique identifier for this return registration, generated by parcelLab

Query parameters
draftbooleanOptional

Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).

Default: false
Body

List of return article selections

Responses
200Success
application/json

Product Options for LineItem Selected for Exchange

Map of line_item_id to variant options

Other propertiesany ofOptional
or
post/v4/returns/return-registrations/{external_id}/exchange-product-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?