docs: add manage promotions in cart storefront guide (#13483)

* docs: add manage promotions in cart storefront guide

* fix incorrect cURL example
This commit is contained in:
Shahed Nasser
2025-09-15 12:29:55 +03:00
committed by GitHub
parent 23d5a902b1
commit 2657f9c196
15 changed files with 215 additions and 8 deletions
@@ -4,6 +4,10 @@ post:
x-sidebar-summary: Add Promotions
description: Add a list of promotions to a cart.
x-authenticated: false
externalDocs:
url: >-
https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#add-promotion-to-cart
description: 'Storefront guide: How to add a promotion to cart.'
parameters:
- name: id
in: path
@@ -75,6 +79,10 @@ delete:
summary: Remove Promotions from Cart
description: Remove a list of promotions from a cart.
x-authenticated: false
externalDocs:
url: >-
https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#remove-promotion-from-cart
description: 'Storefront guide: How to remove a promotion from cart.'
parameters:
- name: id
in: path