new CancellationRequest(shopify)
Creates a CancellationRequest instance.
Parameters:
Name | Type | Description |
---|---|---|
shopify |
Shopify | Reference to the Shopify instance |
Methods
accept() → {Promise}
Accepts a cancellation request sent to a fulfillment service for a
fulfillment order.
Returns:
Promise that resolves with the result
- Type
- Promise
create() → {Promise}
Sends a cancellation request to the fulfillment service of a fulfillment
order.
Returns:
Promise that resolves with the result
- Type
- Promise
reject() → {Promise}
Rejects a cancellation request sent to a fulfillment service for a
fulfillment order.
Returns:
Promise that resolves with the result
- Type
- Promise