DiscountAutomaticBasic object

Version 2020-01 (Release candidate)

An automatic basic discount.

Required access

read_price_rules access scope

Fields

createdAt (DateTime!)

The date and time when the discount was created.

customerGets (DiscountCustomerGets!)

The qualifying items in an order, the quantity of each one, and the total value of the discount.

endsAt (DateTime)

The date and time when the discount ends. For open-ended discounts, use null.

minimumRequirement (DiscountMinimumRequirement!)

The minimum subtotal or quantity that's required for the discount to be applied.

shortSummary (String!)

A short summary of the discount.

startsAt (DateTime!)

The date and time when the discount starts.

status (DiscountStatus!)

The status of the discount.

summary (String!)

A detailed summary of the discount.

title (String!)

The title of the discount.

usageCount (Int!)

The number of times that the discount has been used.

Mutations for DiscountAutomaticBasic

discountAutomaticBasicCreate

Creates a basic automatic discount.

discountAutomaticBasicUpdate

Update basic automatic discount using its id and input.

Version 2019-10 (Latest)

An automatic basic discount.

Required access

read_price_rules access scope

Fields

createdAt (DateTime!)

The date and time when the discount was created.

customerGets (DiscountCustomerGets!)

The qualifying items in an order, the quantity of each one, and the total value of the discount.

endsAt (DateTime)

The date and time when the discount ends. For open-ended discounts, use null.

minimumRequirement (DiscountMinimumRequirement!)

The minimum subtotal or quantity that's required for the discount to be applied.

shortSummary (String!)

A short summary of the discount.

startsAt (DateTime!)

The date and time when the discount starts.

status (DiscountStatus!)

The status of the discount.

summary (String!)

A detailed summary of the discount.

title (String!)

The title of the discount.

usageCount (Int!)

The number of times that the discount has been used.

Mutations for DiscountAutomaticBasic

discountAutomaticBasicCreate

Creates a basic automatic discount.

discountAutomaticBasicUpdate

Update basic automatic discount using its id and input.

Version 2019-07

An automatic basic discount.

Required access

read_price_rules access scope

Fields

createdAt (DateTime!)

The date and time when the discount was created.

customerGets (DiscountCustomerGets!)

The qualifying items in an order, the quantity of each one, and the total value of the discount.

endsAt (DateTime)

The date and time when the discount ends. For open-ended discounts, use null.

minimumRequirement (DiscountMinimumRequirement!)

The minimum subtotal or quantity that's required for the discount to be applied.

shortSummary (String!)

A short summary of the discount.

startsAt (DateTime!)

The date and time when the discount starts.

status (DiscountStatus!)

The status of the discount.

summary (String!)

A detailed summary of the discount.

title (String!)

The title of the discount.

usageCount (Int!)

The number of times that the discount has been used.

Mutations for DiscountAutomaticBasic

discountAutomaticBasicCreate

Creates a basic automatic discount.

discountAutomaticBasicUpdate

Update basic automatic discount using its id and input.

Version 2019-04

An automatic basic discount.

Required access

read_price_rules access scope

Fields

createdAt (DateTime!)

The date and time when the discount was created.

customerGets (DiscountCustomerGets!)

The qualifying items in an order, the quantity of each one, and the total value of the discount.

endsAt (DateTime)

The date and time when the discount ends. For open-ended discounts, use null.

minimumRequirement (DiscountMinimumRequirement!)

The minimum subtotal or quantity that's required for the discount to be applied.

shortSummary (String!)

A short summary of the discount.

startsAt (DateTime!)

The date and time when the discount starts.

status (DiscountStatus!)

The status of the discount.

summary (String!)

A detailed summary of the discount.

title (String!)

The title of the discount.

usageCount (Int!)

The number of times that the discount has been used.

Mutations for DiscountAutomaticBasic

discountAutomaticBasicCreate

Creates a basic automatic discount.

discountAutomaticBasicUpdate

Update basic automatic discount using its id and input.

Sign up for a Partner account to get started.

Sign up