diff --git a/_raml/apps/carts/examples/post_carts_cartid_coupon_response.json b/_raml/apps/carts/examples/post_carts_cartid_coupon_response.json index 4cfb0f1e5..fc48f7dc6 100644 --- a/_raml/apps/carts/examples/post_carts_cartid_coupon_response.json +++ b/_raml/apps/carts/examples/post_carts_cartid_coupon_response.json @@ -156,6 +156,7 @@ "couponLineItem": { "couponLineItemId": "5858F55B-0C82-4C2C-A435-D5809AB3C878", "couponCampaignId": "5936D13B-4C3A-6CC4-233F-AC17320912BE", + "couponCode": "KDM38Q", "lineItemPrice": { "taxType": "NONE", "formatted": "-12.99 €", diff --git a/apps/data-types.md b/apps/data-types.md index a68a7646d..812c9a964 100644 --- a/apps/data-types.md +++ b/apps/data-types.md @@ -293,6 +293,7 @@ ePages Now only! | - | - | - | | couponLineItemId | string | The unique identifier of the coupon line item. | | couponCampaignId | string | The unique identifier of the campaign the coupon belongs to. | +| couponCode | string | The coupon code that was redeemed. | | lineItemPrice | object of [price](page:apps-data-types#price) | The price of the line item (`singleItemPrice` multiplied by `quantity`). | | validationErrors | array of error strings | The error that occurred when redeeming a coupon for this cart. Can be one of *LineItemsSubTotalTooSmall*, *CouponIsInvalidated*, *ValidCouponCountReached*, *CouponNotEffective*, *PaymentMethodMisMatch*, *ShippingMethodMisMatch*, *ProductMisMatch*.