Skip to main content

PolicyAssignmentInput

One kind of policy to set on a product or variant, or to clear: returns, shipping or restocking fee.

input PolicyAssignmentInput {
category: PolicyCategory!
policy: ID
}

Fields​

PolicyAssignmentInput.category ● PolicyCategory! non-null enum​

The kind: RETURNS_AND_REFUNDS, SHIPPING_POLICY or RESTOCKING_FEE.

PolicyAssignmentInput.policy ● ID scalar​

A policy of that kind, of the product's or variant's own seller. Null clears that kind from the product or variant.

Member Of​

ProductBulkCreateInput input ● ProductCreateInput input ● ProductInput input ● ProductVariantBulkCreateInput input ● ProductVariantCreateInput input ● ProductVariantInput input

Was this page helpful?