Closed samblissard closed 1 year ago
The schema object contains a field called target_attributes which should define the conditions that a promotion is applied to a cart: https://documentation.elasticpath.com/commerce-cloud/docs/api/promotions/create-item-percent-discount-promotion.html#the-schema-object
schema
target_attributes
This field is absent from the promotion schema types: https://github.com/moltin/js-sdk/blob/main/src/types/promotions.d.ts#L120-L125 Can this be added?
:tada: This issue has been resolved in version 20.12.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
The
schema
object contains a field calledtarget_attributes
which should define the conditions that a promotion is applied to a cart: https://documentation.elasticpath.com/commerce-cloud/docs/api/promotions/create-item-percent-discount-promotion.html#the-schema-objectThis field is absent from the promotion schema types: https://github.com/moltin/js-sdk/blob/main/src/types/promotions.d.ts#L120-L125 Can this be added?