Skip to content

Commit

Permalink
DEVDOCS-6098: [update] added_by_promotion field (#492)
Browse files Browse the repository at this point in the history
<!-- Ticket number or summary of work -->
# [DEVDOCS-6098]


## What changed?
Added new field to physical and digital products. (added_by_promotion)

## Release notes draft

We recently exposed the added_by_promotion field in the v3 cart and
checkout endpoints.

## Anything else?
<!-- Add related PRs, salient notes, additional ticket numbers, etc. -->

ping {names}


[DEVDOCS-6098]:
https://bigcommercecloud.atlassian.net/browse/DEVDOCS-6098?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
bc-traciporter authored Sep 4, 2024
1 parent 1df95ea commit aba0ae2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions reference/carts.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2245,6 +2245,10 @@ components:
type: boolean
example: true
description: Whether or not you can change or remove the item from the cart. Items that are immutable include those added automatically by promotions.
added_by_promotion:
type: boolean
example: false
description: Whether or not a promotion added an additional item.
download_file_urls:
description: URLs to download all product files.
type: array
Expand Down Expand Up @@ -3288,6 +3292,10 @@ components:
type: boolean
example: true
description: Whether or not you can change or remove the item from the cart. Items that are immutable include those added automatically by promotions.
added_by_promotion:
type: boolean
example: false
description: Whether or not a promotion added an additional item.
gift_wrapping:
description: The gift wrapping details for this item.
type: object
Expand Down
8 changes: 8 additions & 0 deletions reference/checkouts.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8178,6 +8178,10 @@ components:
is_mutable:
type: boolean
description: ''
added_by_promotion:
type: boolean
example: false
description: Whether or not a promotion added an additional item.
parent_id:
type: number
description: ''
Expand Down Expand Up @@ -8244,6 +8248,10 @@ components:
is_require_shipping:
type: boolean
description: ''
added_by_promotion:
type: boolean
example: false
description: Whether or not a promotion added an additional item.
is_taxable:
type: boolean
description: ''
Expand Down

0 comments on commit aba0ae2

Please sign in to comment.