Returns > Return Policies > returnPoliciesCreate
POST:return_policies.json
Description
Create one or multiple return policies.
Permission bit: "return_policies.create"
Topic: Return Policies
Arguments
data: [ReturnPolicyCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
condition: ReturnPolicyConditionCreate
Currency code used for all prices defined in the policy
Example: "USD"
Whether this return policy is enabled or not
Example: false
Name of the return policy
Example: "Domestic (USA) Returns"
Valid when: name's length doesn't exceed 250 characters
Priority of the policy (policy with higher priority is to be evaluated first)
Example: 0
refund_option: ReturnPolicyRefundOption
What kind of refund method is allowed
shipping_options: [ReturnPolicyShippingOptionCreate!]
Result
[ReturnPolicy!]
Preview (typescript)
Loading module