Class: GiftCard

GiftCard(shopify)

new GiftCard(shopify)

Creates a GiftCard instance.
Parameters:
Name Type Description
shopify Shopify Reference to the Shopify instance

Methods

disable(id) → {Promise}

Disables a gift card.
Parameters:
Name Type Description
id Number Gift card ID
Returns:
Promise that resolves with the result
Type
Promise
Searches for gift cards matching a given query.
Parameters:
Name Type Description
params Object Query parameters
Returns:
Promise that resolves with the result
Type
Promise