Skip to main content
Log inSign up
input_object

The input fields for a monetary value with currency.

•
Decimal!non-null

Decimal money amount.

•

Currency of the money.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•
INPUT OBJECT

The amount to be charged to the store every billing interval.

•
INPUT OBJECT

The maximum amount of usage charges that can be incurred within a subscription billing interval.

•
INPUT OBJECT

The fixed feed that's defined by the merchant for this participant.

•
INPUT OBJECT

The monetary value to compare the price of an order to.

•
INPUT OBJECT

The price of the rate definition.

•
INPUT OBJECT

The applied amount of the discount in the specified currency.

•
INPUT OBJECT

The price in presentment currency, without any discounts applied, for a custom line item. If this value is provided, original_unit_price will be ignored. This field is ignored when variantId is provided. Note: All presentment currencies for a single draft should be the same and match the presentment currency of the draft order.

•
INPUT OBJECT

The price override for the line item. Should be set in presentment currency.

This price will be used in place of the product variant's catalog price in this draft order.

If the override's presentment currency doesn't match the draft order's presentment currency, it will be converted over to match the draft order's presentment currency. This will occur if the input is defined in a differing currency, or if some other event causes the draft order's currency to change.

Price overrides can't be applied to bundle components. If this line item becomes part of a bundle the price override will be removed. In the case of a cart transform, this may mean that a price override is applied to this line item earlier in its lifecycle, and is removed later when the transform occurs.

•
INPUT OBJECT

The amount to credit the gift card.

•
INPUT OBJECT

The amount to debit the gift card.

•
INPUT OBJECT

Amount of budget for the marketing activity.

•
INPUT OBJECT

The total ad spend for the marketing content. Recurring weekly, monthly, or yearly spend needs to be divided into daily amounts.

•
INPUT OBJECT

The amount of sales generated from the marketing content.

•
INPUT OBJECT

Amount in shop currency.

•
INPUT OBJECT

Amount in presentment currency. If this isn't given then we assume that the presentment currency is the same as the shop's currency.

•
INPUT OBJECT

The value of the discount as a fixed amount.

•
INPUT OBJECT

The price of the product variant on this price list.

•
INPUT OBJECT

The compare-at price of the product variant on this price list.

•
INPUT OBJECT

The price of the product to use for all variants with its currency.

•
INPUT OBJECT

The price of the product variant when its quantity meets the break's minimum quantity.

•
INPUT OBJECT

The input fields required to refund shipping cost, in the presentment currency of the order. This overrides the fullRefund argument. This field defaults to 0.00 when not provided and when the fullRefund argument is false.

•
INPUT OBJECT

The amount of money for the transaction in the presentment currency of the order.

•
INPUT OBJECT

The value of the fee as a fixed amount in the presentment currency of the order.

•
INPUT OBJECT

Price of the shipping rate with currency. If provided, price will be ignored.

•
INPUT OBJECT

The amount to credit the store credit account.

•
INPUT OBJECT

The amount to debit the store credit account.

•
INPUT OBJECTDeprecated

The cumulative amount spent on the marketing activity.


Was this section helpful?