Class: DiscountCode

DiscountCode(shopify)

new DiscountCode(shopify)

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

Methods

lookup(params) → {Promise}

Searches by discount code.
Parameters:
Name Type Description
params Object Query parameters
Returns:
Promise that resolves with the result
Type
Promise