Skip to content

Commit

Permalink
add promotions schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-andreadao committed Sep 6, 2024
1 parent 8918628 commit 310a554
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion reference/checkouts.sf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,17 @@ components:
type: array
items:
type: object
properties: {}
properties:
type:
type: string
enum:
- promotion
- upsell
- eligible
- applied
text:
type: string
description: Text displayed on the storefront for the promotion.
shippingCostBeforeDiscount:
type: number
description: The shipping cost before discounts are applied.
Expand Down

0 comments on commit 310a554

Please sign in to comment.