Skip to content

Commit

Permalink
Add coupon_deals tag to webhook/API
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsf committed Feb 13, 2024
1 parent 7e41e7d commit 9de602b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/localizable/smart_cart/_order_object.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Name | Type | Description
`line_items[_].rejection_reason` | String | Rejection reason (possible values: `limited_stock`, `no_stock`, `discontinuation`, `wrong_price`)
`line_items[_].return_reason` | String | User return reason (possible values: `faulty`, `wrong_product`, `withdrawal`, `wrong_size`)
`line_items[_].serial_numbers` | String | Serial numbers for item, concatenated by ',', e.g. `SN12345,SN56789`
`line_items[_].tags` | Array | A list of tags that characterize the line item (optional). Supported tags: `["plus_deal"]`
`line_items[_].tags` | Array | A list of tags that characterize the line item (optional). Supported tags: `["plus_deal", "coupon_deal"]`

#### Line item size

Expand Down
2 changes: 1 addition & 1 deletion source/localizable/smart_cart/webhook.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Would send a Webhook request payload just like if the order was cancelled by the
"ean": "1234567890123",
"mpn": "JA-1059",
"serial_numbers": null,
"tags": ["plus_deal"]
"tags": ["plus_deal", "coupon_deal"]
},
{
"id": "l39vKqxqh2",
Expand Down

0 comments on commit 9de602b

Please sign in to comment.