All Release Notes

Added Messages for changes on Custom Fields and Types on Embedded Prices

2 July 2024
Composable Commerce
HTTP API
Enhancement
Pricing and DiscountsMessages/SubscriptionsGraphQL

You can now subscribe to Messages for changes to Custom Fields and Types on Embedded Prices.

Changes:

The following changes were introduced in terms of GraphQL SDL:

type ProductPriceCustomFieldAdded implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
name: String!
value: Json!
type: String!
}
type ProductPriceCustomFieldChanged implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
name: String!
value: Json!
type: String!
}
type ProductPriceCustomFieldRemoved implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
name: String!
type: String!
}
type ProductPriceCustomFieldsSet implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
customField: CustomFieldsType!
oldTypeId: String
type: String!
}
type ProductPriceCustomFieldsRemoved implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
type: String!
}