Platform Release 4 June 2019

Product Discounts now have a user defined key attribute. You can use the key attribute when querying, updating or deleting a ProductDiscount.

Introduced the following changes to the GraphQL schema (in SDL format):

extend type ProductDiscount {
  key: String
}

extend input ProductDiscountUpdateAction {
  setKey: SetProductDiscountKey
}

extend input ProductDiscountDraft {
  key: String
}

input SetProductDiscountKey {
  key: String
}