Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

LineDiscountAllocationResponse

typeLineDiscountAllocationResponse

Fields

  1. fields
index*Int!

Index of the line in the request.

productId*String!
variantId?String
discountAmount*Float!
discountedUnits*Int!
discountId*String!

Usages

Field of
PreviewDiscountsResponse.lineAllocations
SDL
type LineDiscountAllocationResponse {  index: Int!  productId: String!  variantId: String  discountAmount: Float!  discountedUnits: Int!  discountId: String!}