Enable a guest user to return information for a specified cart.
/V1/guest-carts/{cartId}
(Required)
<string>
curl -L \
--url 'http://{{baseurl}}/V1/guest-carts/{cartId}'
{
"id": 74037029,
"customer": {
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"id": "<integer>",
"group_id": "<integer>",
"default_billing": "<string>",
"default_shipping": "<string>",
"confirmation": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"created_in": "<string>",
"dob": "<string>",
"middlename": "<string>",
"prefix": "<string>",
"suffix": "<string>",
"gender": "<integer>",
"store_id": "<integer>",
"taxvat": "<string>",
"website_id": "<integer>",
"addresses": [
{
"id": "<integer>",
"customer_id": "<integer>",
"region": {
"region_code": "<string>",
"region": "<string>",
"region_id": "<integer>",
"extension_attributes": "<object>"
},
"region_id": "<integer>",
"country_id": "<string>",
"street": [
"<string>",
"<string>"
],
"company": "<string>",
"telephone": "<string>",
"fax": "<string>",
"postcode": "<string>",
"city": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"middlename": "<string>",
"prefix": "<string>",
"suffix": "<string>",
"vat_id": "<string>",
"default_shipping": "<boolean>",
"default_billing": "<boolean>",
"extension_attributes": "<object>",
"custom_attributes": [
{
"attribute_code": "sint proident",
"value": "Excepteur"
},
{
"attribute_code": "enim ullamco aliquip in",
"value": "commodo ad in"
}
]
},
{
"id": "<integer>",
"customer_id": "<integer>",
"region": {
"region_code": "<string>",
"region": "<string>",
"region_id": "<integer>",
"extension_attributes": "<object>"
},
"region_id": "<integer>",
"country_id": "<string>",
"street": [
"<string>",
"<string>"
],
"company": "<string>",
"telephone": "<string>",
"fax": "<string>",
"postcode": "<string>",
"city": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"middlename": "<string>",
"prefix": "<string>",
"suffix": "<string>",
"vat_id": "<string>",
"default_shipping": "<boolean>",
"default_billing": "<boolean>",
"extension_attributes": "<object>",
"custom_attributes": [
{
"attribute_code": "incididunt aliqua",
"value": "magna ad dolore"
},
{
"attribute_code": "consequat ad",
"value": "veniam cillum conse"
}
]
}
],
"disable_auto_group_change": "<integer>",
"extension_attributes": {
"assistance_allowed": "<integer>",
"is_subscribed": "<boolean>",
"amazon_id": "<string>",
"vertex_customer_code": "<string>",
"vertex_customer_country": "<string>"
},
"custom_attributes": [
{
"attribute_code": "enim",
"value": "reprehenderit in sunt dolor"
},
{
"attribute_code": "officia sunt consequat",
"value": "tempor magna"
}
]
},
"store_id": -95989923,
"created_at": "sit occaecat eu Ut aliquip",
"updated_at": "cupidatat",
"converted_at": "incididunt Excepteur ut ex",
"is_active": false,
"is_virtual": false,
"items": [
{
"qty": -60235303.00903417,
"quote_id": "reprehenderit dolo",
"item_id": -65068749,
"sku": "aliquip laborum do dolor",
"name": "qui pariatur",
"price": -79372135.8779948,
"product_type": "dolor elit",
"product_option": {
"extension_attributes": {
"custom_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"bundle_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"downloadable_option": {
"downloadable_links": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"configurable_item_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
},
"extension_attributes": {
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "dolore in",
"rule_id": 84638182
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "consequat et consectetur",
"rule_id": -73680332
}
]
}
},
{
"qty": -99714629.4290713,
"quote_id": "minim ut ",
"item_id": 36176482,
"sku": "sit fugiat culpa dolor",
"name": "culpa Lorem aliqua",
"price": -91230384.41770852,
"product_type": "in Duis ",
"product_option": {
"extension_attributes": {
"custom_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"bundle_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"downloadable_option": {
"downloadable_links": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"configurable_item_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
},
"extension_attributes": {
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "c",
"rule_id": -3344554
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "ipsum Duis ",
"rule_id": 7641916
}
]
}
}
],
"items_count": -51356028,
"items_qty": -81361115.39957409,
"billing_address": {
"region": "reprehenderit laboris consectetur i",
"region_id": 53921730,
"region_code": "dolore sunt Duis",
"country_id": "esse ex dolor elit",
"street": [
"aliqua anim",
"Lorem"
],
"telephone": "cillum deserunt consequat",
"postcode": "proident in",
"city": "Excepteur Lorem non laboris velit",
"firstname": "sunt cillum",
"lastname": "in ea",
"email": "ex consequat",
"id": 40739443,
"company": "ut veniam nostrud",
"fax": "sit ex adi",
"middlename": "velit officia adipisicing",
"prefix": "dolore et id",
"suffix": "commodo est non consectetur",
"vat_id": "velit non ex",
"customer_id": 6994318,
"same_as_billing": 77034783,
"customer_address_id": -69843180,
"save_in_address_book": -95160651,
"extension_attributes": {
"pickup_location_code": "esse velit eu elit",
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "commodo nulla",
"rule_id": 14182011
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "aliquip qui",
"rule_id": -30937332
}
]
},
"custom_attributes": [
{
"attribute_code": "nul",
"value": "elit veniam incidi"
},
{
"attribute_code": "cillum",
"value": "anim labore reprehenderit nostrud"
}
]
},
"reserved_order_id": "nostrud",
"orig_order_id": 81019291,
"currency": {
"global_currency_code": "ad incididunt",
"base_currency_code": "consequat ea Duis reprehenderit",
"store_currency_code": "do",
"quote_currency_code": "minim qui reprehenderit incididunt id",
"store_to_base_rate": 96075101.25541437,
"store_to_quote_rate": -98253402.56817544,
"base_to_global_rate": -87143036.00693287,
"base_to_quote_rate": -17633528.712277353,
"extension_attributes": {}
},
"customer_is_guest": false,
"customer_note": "ut",
"customer_note_notify": true,
"customer_tax_class_id": -62079430,
"extension_attributes": {
"shipping_assignments": [
{
"shipping": {
"address": {
"region": "cupidatat in labore aute",
"region_id": 16179205,
"region_code": "esse veniam tempor",
"country_id": "aliquip ut",
"street": [
"elit Lorem",
"dolor ex cupidatat te"
],
"telephone": "est dolore sint Duis",
"postcode": "elit nostrud magna est",
"city": "proident ame",
"firstname": "voluptate eu est Ut",
"lastname": "dolore Excep",
"email": "incididunt occaecat aliqua proident",
"id": 75178632,
"company": "in officia voluptate",
"fax": "consequat laboris ",
"middlename": "ut in veniam incididunt",
"prefix": "aute",
"suffix": "reprehenderit et laboris adipisicing",
"vat_id": "consequat enim non amet",
"customer_id": 46797978,
"same_as_billing": -51684405,
"customer_address_id": 91195529,
"save_in_address_book": -94647914,
"extension_attributes": {
"pickup_location_code": "dolor ea velit in",
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "qui velit",
"rule_id": -16654100
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "cupidatat qui occaecat",
"rule_id": -22998862
}
]
},
"custom_attributes": [
{
"attribute_code": "Excepteur qui magna",
"value": "tempor quis"
},
{
"attribute_code": "laboris in Lorem",
"value": "ea"
}
]
},
"method": "do adipisicing",
"extension_attributes": {}
},
"items": [
{
"qty": -9656680.65823558,
"quote_id": "u",
"item_id": 7369429,
"sku": "ea labore fugiat eu",
"name": "tempor veniam",
"price": 49842496.89828023,
"product_type": "sed laboris sunt",
"product_option": {
"extension_attributes": {
"custom_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"bundle_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"downloadable_option": {
"downloadable_links": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"configurable_item_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
},
"extension_attributes": {
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "Lorem reprehenderit cupidatat velit ",
"rule_id": -89692523
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "cupidatat consectetur",
"rule_id": -57203270
}
]
}
},
{
"qty": 42920116.44084379,
"quote_id": "tempor laborum",
"item_id": 42339720,
"sku": "fugiat reprehenderit sunt",
"name": "reprehenderit nulla",
"price": -19071187.166301534,
"product_type": "culpa",
"product_option": {
"extension_attributes": {
"custom_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"bundle_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"downloadable_option": {
"downloadable_links": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"configurable_item_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
},
"extension_attributes": {
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "aliquip aute in sed",
"rule_id": -76814556
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "quis do non occaecat",
"rule_id": 59906810
}
]
}
}
],
"extension_attributes": {}
},
{
"shipping": {
"address": {
"region": "amet dolore dolor pariatur",
"region_id": -27037474,
"region_code": "ex laboris laborum ullamco",
"country_id": "id mollit",
"street": [
"occaecat pariatur fugiat",
"enim ut"
],
"telephone": "id magna qui",
"postcode": "ipsum cillum ",
"city": "ex cupidatat est",
"firstname": "eu exercitation esse",
"lastname": "Lorem adipisicing",
"email": "Duis magna in",
"id": -54975167,
"company": "in amet",
"fax": "nostr",
"middlename": "in",
"prefix": "commodo cillum sint consequat",
"suffix": "mollit aliqua cillum incididunt ad",
"vat_id": "laboris id esse",
"customer_id": -7738529,
"same_as_billing": 33139415,
"customer_address_id": -36377625,
"save_in_address_book": 5779579,
"extension_attributes": {
"pickup_location_code": "minim ut sit et i",
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "Duis in eu sunt",
"rule_id": 25501468
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "incididunt aliqua in dolore ex",
"rule_id": -35907501
}
]
},
"custom_attributes": [
{
"attribute_code": "aute nisi sit",
"value": "aliquip amet"
},
{
"attribute_code": "eiusmod",
"value": "ad ut laborum dolor"
}
]
},
"method": "nostrud laborum dolor enim",
"extension_attributes": {}
},
"items": [
{
"qty": -21647805.448420867,
"quote_id": "nulla fugiat elit voluptate Duis",
"item_id": -62969612,
"sku": "velit elit",
"name": "voluptate ut aute",
"price": -94390165.29568787,
"product_type": "dolore sint",
"product_option": {
"extension_attributes": {
"custom_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"bundle_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"downloadable_option": {
"downloadable_links": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"configurable_item_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
},
"extension_attributes": {
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "eu ipsum nulla aute officia",
"rule_id": 80465030
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "consequat laboris mollit culpa",
"rule_id": 67640001
}
]
}
},
{
"qty": -23601587.952006355,
"quote_id": "consectetur consequat adipisicing quis",
"item_id": -29683391,
"sku": "mollit consequat sunt anim",
"name": "ut quis anim est",
"price": 56592393.2778326,
"product_type": "Lorem deserunt consequat",
"product_option": {
"extension_attributes": {
"custom_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"bundle_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"downloadable_option": {
"downloadable_links": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"configurable_item_options": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
},
"extension_attributes": {
"discounts": [
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "aliqua velit amet",
"rule_id": -8821695
},
{
"discount_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"rule_label": "minim elit",
"rule_id": 83711552
}
]
}
}
],
"extension_attributes": {}
}
],
"amazon_order_reference_id": {
"id": "esse non",
"amazon_order_reference_id": "occae",
"quote_id": 33842899,
"sandbox_simulation_reference": "sed elit labore cupidatat",
"confirmed": false
}
}
}
OK
Assign a specified customer to a specified shopping cart.
/V1/guest-carts/{cartId}
(Required) The cart ID.
<string>
application/json
{"customerId":"<integer>","storeId":"<integer>"}
curl -L \
--request PUT \
--url 'http://{{baseurl}}/V1/guest-carts/{cartId}' \
--header 'Content-Type: application/json' \
--data '{
"customerId": "<integer>",
"storeId": "<integer>"
}'
true
OK
Enable an customer or guest user to create an empty cart and quote for an anonymous customer.
/V1/guest-carts
curl -L \
--request POST \
--url 'http://{{baseurl}}/V1/guest-carts'
eu dolore qui
OK