Skip to content

Create Return (GraphQL)

Opens an RMA request for an order item. Use List Returnable Items to get the eligible items and their caps, and List Return Reasons for the reason ids of the chosen resolution type.

Input

FieldTypeRequiredDescription
orderIdIntyesThe order to open the return against.
orderItemIdIntyesThe order item being returned/canceled.
rmaQtyIntyesQuantity to return. Capped server-side by the item's returnable/cancelable quantity.
resolutionTypeStringyesreturn or cancel_items.
rmaReasonIdIntyesA reason id valid for the chosen resolutionType.
informationStringnoFree-text note.
packageConditionStringnoCondition of the package (e.g. opened).

Attaching proof images is REST-only (multipart) — not available over GraphQL.

TIP

See the Returns overview for the status workflow.

Permission: sales.rma.requests.create.

All admin operations require an admin Bearer token — see Authentication.

Released under the MIT License.