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:
co-authored by
olivermrbl
Shahed Nasser
parent
efdea04963
commit
658339767b
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user