Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

DEVDOCS-5671 [revise] Checkout Storefront, Update gift wrapping around CRUD #1538

Conversation

bc-tgomez
Copy link
Collaborator

@bc-tgomez bc-tgomez commented Dec 11, 2023

DEVDOCS-5671

What changed?

  • Add Gift Card schema to Storefront Checkout endpoints from PR# 1536

PR Comments

we can assign a giftWrapping to lineItems using the Storefront API
POST /api/storefront/carts
POST /api/storefront/carts/{cartId}/items
we can update an existing giftWrapping using the Storefront API
PUT /api/storefront/carts/{cartId}/items/{itemId}
PUT /api/storefront/checkouts/{checkoutId}/carts/{cartId}/items/{itemId}
we can delete an existing giftWrapping using Storefront API (pass giftWrapping: null). if we don't pass giftWrapping, DO NOT CHANGE CURRENT STATUS
PUT /api/storefront/carts/{cartId}/items/{itemId}
PUT /api/storefront/checkouts/{checkoutId}/carts/{cartId}/items/{itemId}

Anything else?

PR#1536

ping @bc-shawnwang @valentindellangela

@bc-tgomez bc-tgomez merged commit 24e1972 into main Dec 11, 2023
3 checks passed
@bc-tgomez bc-tgomez deleted the DEVDOCS-5671-Update-docs-around-CRUDof-gift-wrapping-for-storefront-apis branch December 11, 2023 21:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants