Return Policy Profile
Requires access scope.
A return policy profile.
Anchor to FieldsFields
- default (Boolean!)
- editRules (ReturnPoliciesEditRules)
- id (ID!)
- markets ([Market!]!)
- name (String)
- returnRules (ReturnPoliciesReturnRules)
- updatedAt (DateTime)
- Anchor to defaultdefault•Boolean!non-null
Whether this return policy profile is the default profile for the shop.
- Anchor to editRulesedit•Return
Rules Policies Edit Rules The rules that apply to buyer-initiated edit and cancellation requests under this policy. When null, edit rules are disabled and customers can request cancellations without restrictions.
- •ID!non-null
A globally-unique ID.
- Anchor to marketsmarkets•[Market!]!non-null
The markets that this return policy profile applies to.
- Anchor to namename•String
The name of the return policy profile. This is a merchant-defined value that identifies the profile. The default profile has a null name.
- Anchor to returnRulesreturn•Return
Rules Policies Return Rules The rules that apply to returns under this policy. When null, return rules are disabled and customers can return items without restrictions.
- Anchor to updatedAtupdated•Date
At Time The time when the return policy profile was last updated. This is an aggregated value based on the profile, its default promise, and all overrides.
Anchor to QueriesQueries
- returnPolicyProfile (ReturnPolicyProfile)
- returnPolicyProfiles (ReturnPolicyProfileConnection!)
- •query
Returns a return policy profile of a shop.
- •ID!required
The ID of the return policy profile to fetch.
Arguments
- •ID!
- •query
Returns the return policy profiles of a shop.
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to defaultdefault•Boolean
Filter by default status. If not provided, returns all profiles.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments