Schema Documentation
createShippingClass
Description
The createShippingClass mutation
Response
Returns a CreateShippingClassPayload
Arguments
Name | Description |
---|---|
input - CreateShippingClassInput! | Input for the createShippingClass mutation |
Example
Query
mutation createShippingClass($input: CreateShippingClassInput!){ createShippingClass(input: $input){ clientMutationIdshippingClass { ...ShippingClassFragment } }}
Variables
{"input":CreateShippingClassInput}
Response
{"data":{"createShippingClass":{"clientMutationId":"xyz789","shippingClass":ShippingClass}}}