Skip to content

RequestApplyCodePayload

View normalized Markdown

Autogenerated return type of RequestApplyCode.

graphql
type RequestApplyCodePayload {
  errors: [Error!]
  followUpPriceValue: Money
  followUpProducts: [Product!]
  request: Request
  requestItem: RequestItem
}

Fields

RequestApplyCodePayload.errors · [Error!] list object

RequestApplyCodePayload.followUpPriceValue · Money scalar

Price the voucher transfers to the chosen follow-up product.

RequestApplyCodePayload.followUpProducts · [Product!] list object

Products the voucher can be redeemed for when it needs a product choice. Apply the code again with requestItem.

RequestApplyCodePayload.request · Request object

The cart with the code applied.

RequestApplyCodePayload.requestItem · RequestItem object

The cart item added together with the code, if any.

Returned By

requestApplyCode mutation