Skip to content

Commit

Permalink
Update docs/guides/Checkout/shopping-cart-section-api-quick-start-gui…
Browse files Browse the repository at this point in the history
…des/add-service-to-the-cart.md

Co-authored-by: Júlia Rabello <[email protected]>
  • Loading branch information
karenkrieger and julia-rabello authored Dec 1, 2023
1 parent d4ca857 commit e62e015
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ The expected response is the `orderForm` structure with the `offerings` array wi

If you need to add more than a service to a specific product, you must add more units of the product that the service is attached to. To do so, you must follow the steps below:

1. Update the product you want to add the service to have `"quantity": 1`. Use the [Handle cart items](https://developers.vtex.com/docs/api-reference/checkout-api#patch-/api/checkout/pub/orderForm/-orderFormId-/items?endpoint=patch-/api/checkout/pub/orderForm/-orderFormId-/items) endpoint with the following request body:
1. Update the product you want to add the service to have `"quantity": 1`. Use the [Handle cart items](https://developers.vtex.com/docs/api-reference/checkout-api#patch-/api/checkout/pub/orderForm/-orderFormId-/items?endpoint=patch-/api/checkout/pub/orderForm/-orderFormId-/items) endpoint with the following request body:

```json
{
"orderItems": [
Expand Down

0 comments on commit e62e015

Please sign in to comment.