Skip to content

Commit

Permalink
Update webhook documentation for plus deals tag
Browse files Browse the repository at this point in the history
  • Loading branch information
papantonis committed Oct 27, 2023
1 parent f0e9037 commit a4694aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions source/localizable/smart_cart/_order_object.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +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 item size

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

0 comments on commit a4694aa

Please sign in to comment.