ApplyDiscountCodeInput
Sets or clears the cart's discount code. Shared by the portal and the buyer app.
input ApplyDiscountCodeInput {
code: String
expectedRevision: Int
operationId: String
}
Fields
ApplyDiscountCodeInput.code ● String scalar
The code the buyer entered. Null or blank clears the cart's code.
ApplyDiscountCodeInput.expectedRevision ● Int scalar
CAS guard: the cart revision this mutation was read against.
ApplyDiscountCodeInput.operationId ● String scalar
Client-minted id for replay-safety (same id+payload = no-op success).
Member Of
applyDiscountCode mutation ● mobileApplyDiscountCode mutation