Returns > Return Reasons > returnReasonsCreate
POST:return_reasons.json
Description
Create one or multiple return reasons.
Permission bit: "return_reasons.create"
Topic: Return Reasons
Arguments
data: [ReturnReasonCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Return reason description (custom reasons only)
Example: "No longer needed/wanted"
Valid when: description's length doesn't exceed 250 characters
Whether return reason is enabled or not
Example: true
id: ReturnReasonType!
Unique return reason identifier. See also: Unique Identifiers
Result
[ReturnReason!]
Preview (typescript)
Loading module