CreateSalesSubscriptionChargeLineItemCommandRequestInput
Adds a line item for a charge such as shipping or a fee to a subscription. It has no schedule and is part of every follow-up sales order. - Request
CreateSalesSubscriptionChargeLineItemCommandRequestInputFields
The ID of the subscription.
A temporary identifier chosen by the client, for example to match the answer to an optimistic update. It is not stored and is returned unchanged.
The type of the charge. Known values: SHIPPING, SHIPPING_SURCHARGE, SHIPPING_SURCHARGE_ITEM, PAYMENT_FEE, CASH_ON_DELIVERY_FEE, GIFT_WRAP, INTEREST, HANDLING_FEE, TRUSTED_SHOPS, RETURN_DELIVERY, FREE_GIFT. The type of a charge line item.
Required for 'FreeGift' and 'ShippingSurchargeItem', not allowed for the other types: the ID of the item.
The name printed on the sales order; not empty.
The net amount of the charge.
The quantity; greater than 0. Defaults to 1.
The ID of the tax class. Defaults to the default tax class.
A note on the line item.
The position of the line item. Defaults to the end.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?