Returns > Returns > returnsCreate
POST:returns.json
Description
Create one or multiple returns.
Permission bit: "returns.create"
Topic: Returns
Arguments
data: [ReturnCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Whether to refund to customer balance
Example: false
line_items: [ReturnLineItemCreate!]!
A unique order identifier
Example: "or_EQzGqWoY"
Valid when: order_id matches regexp pattern: ^or_
Unique return policy identifier. See also: Unique Identifiers
Example: "rp_EQzGqWoY"
Valid when: return_policy_id matches regexp pattern: ^rp_
Index of the shipping option within return policy
Example: 0
Return tags (can be used for organization)
Result
[Return!]
Preview (typescript)
Loading module