chore(docs): Generated API Reference (#4706)

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
github-actions[bot]
2023-08-07 16:54:48 +03:00
committed by GitHub
co-authored by olivermrbl Shahed Nasser
parent efdea04963
commit 658339767b
1138 changed files with 11740 additions and 7043 deletions
+12 -6
View File
@@ -1,11 +1,17 @@
post:
summary: Create a Cart
operationId: PostCart
description: >-
Creates a Cart within the given region and with the initial items. If no
`region_id` is provided the cart will be associated with the first Region
available. If no items are provided the cart will be empty after creation.
If a user is logged in the cart's customer id and email will be set.
summary: Create a Cart
description: >
Create a Cart. Although optional, specifying the cart's region and sales
channel can affect the cart's pricing and
the products that can be added to the cart respectively. So, make sure to
set those early on and change them if necessary, such as when the customer
changes their region.
If a customer is logged in, the cart's customer ID and email will
automatically be set.
requestBody:
content:
application/json: