Return Registration
Register Return
Changed onCreate a new return registration
post/v4/returns/return-registrations/
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
Query parameters
courier_testingboolean
Set to true to use the test environment for carrier integration.
draftboolean
Set to true to preview behavior using unpublished configuration changes (e.g., article rules or courier options).
pre_register_backend_trackingboolean
Create backend tracking for this registration before it is submitted.
return_init_v2boolean
Run returns_order_init_v2 apps after creation.
Request body
Example request
{
"articles_order": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"articles_return": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"mutations": [
{
"items": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
]
}Response
Example response
{
"articles_order": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"articles_return": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"mutations": [
{
"items": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
]
}Changes
- info
endpoint added
- info