Create return
Create a return so the warehouse expects the units.
POST
/ bigblue.storeapi.v1.PublicAPI/ CreateReturnCreates a return for an order. Use it when your own returns page or support tool handles the return instead of the Bigblue returns page.
On each line, send product and expected_quantity, plus return_reasons if you
have them. The warehouse fills in received_quantity, damaged_quantity and
quality_controls.
Request body
returnReturnFormrequiredThe return to create.
ReturnForm
orderstringrequiredThe order the units came from.
Pattern
^[A-Za-z0-9]{12}$warehousestringrequiredThe warehouse to return the units to.
Pattern
^[A-Za-z]{2}-[A-Za-z]{3}-[0-9]{3}$external_idstringYour own reference.
Up to 64 characters
requested_refund_methodReturnRefundMethodHow the customer wants to be refunded. The default,
RETURN_REFUND_METHOD_UNSPECIFIED, means you refund the customer yourself.
idstringIgnored. Bigblue generates the ID.
Pattern
^[A-Za-z0-9]{12}RT[A-Za-z0-9]{2}$tracking_numberstringIgnored on create.
resolution_statusReturnResolutionStatusIgnored on create. Use UpdateReturn.
manual_resolutionReturnManualResolutionIgnored on create. Use UpdateReturn.
Responses
returnReturnThe new return with its id and status. Includes label_url if Bigblue
created a return label.
{
"code": "invalid_argument",
"msg": "return.line_items value must contain at least 1 item(s)",
"meta": { "argument": "return.line_items" }
}{ "code": "not_found", "msg": "order BGBL0K3M9XQ2 not found" }POST
/ bigblue.storeapi.v1.PublicAPI/ CreateReturn{
"return": {
"order": "BGBL0K3M9XQ2",
"warehouse": "FR-CDG-001",
"external_id": "rma-4471",
"requested_refund_method": "RETURN_REFUND_METHOD_STORE_CREDIT",
"line_items": [
{
"id": "rma-4471-1",
"product": "BGBL-ESPSRT-SMAL",
"expected_quantity": 1,
"return_reasons": [
{
"type": "RETURN_REASON_TYPE_ITEM_TOO_SMALL",
"comment": "Too small"
}
]
}
]
}
}{
"return": {
"id": "BGBL0K3M9XQ2RT01",
"order": "BGBL0K3M9XQ2",
"external_id": "rma-4471",
"warehouse": "FR-CDG-001",
"status": "RETURN_STATUS_CREATED",
"resolution_status": "RETURN_RESOLUTION_STATUS_OPEN",
"source": "RETURN_SOURCE_MERCHANT",
"refund_method": "RETURN_REFUND_METHOD_STORE_CREDIT",
"currency": "EUR",
"label_url": "https://labels.bigblue.co/r/BGBL0K3M9XQ2RT01.pdf",
"create_time": "2026-03-20T10:15:00Z",
"line_items": [
{
"id": "rma-4471-1",
"product": "BGBL-ESPSRT-SMAL",
"expected_quantity": 1,
"return_reasons": [
{
"type": "RETURN_REASON_TYPE_ITEM_TOO_SMALL",
"comment": "Too small"
}
]
}
]
}
}