Menu
Create carts/{quoteId}/items
Create carts/{quoteId}/items
POST
/V1/carts/{quoteId}/itemsUse it in a workflow
- Add a step and choose the Adobe Commerce connector.
- Pick the Create carts/{quoteId}/items action (under Carts).
- Fill in the fields below, then reference the result from later steps as
{{createCartsQuoteidItems.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{createCartsQuoteidItems.response.data.<field>}}.
{
"qty": 0,
"quote_id": "string",
"item_id": 0,
"sku": "string",
"name": "string",
"price": 0,
"product_type": "string",
"product_option": {
"extension_attributes": {
"custom_options": [
{
"option_id": {},
"option_value": {},
"extension_attributes": {}
}
],
"bundle_options": [
{
"option_id": {},
"option_qty": {},
"option_selections": {},
"extension_attributes": {}
}
],
"downloadable_option": {
"downloadable_links": [
{}
]
},
"giftcard_item_option": {
"giftcard_amount": "string",
"giftcard_sender_name": "string",
"giftcard_recipient_name": "string",
"giftcard_sender_email": "string",
"giftcard_recipient_email": "string",
"custom_giftcard_amount": 0,
"giftcard_message": "string",
"extension_attributes": {}
},
"configurable_item_options": [
{
"option_id": {},
"option_value": {},
"extension_attributes": {}
}
],
"grouped_options": [
{
"id": {},
"qty": {},
"extension_attributes": {}
}
]
}
},
"extension_attributes": {
"discounts": [
{
"discount_data": {
"amount": {},
"base_amount": {},
"original_amount": {},
"base_original_amount": {}
},
"rule_label": "string",
"rule_i_d": 0
}
],
"negotiable_quote_item": {
"item_id": 0,
"original_price": 0,
"original_tax_amount": 0,
"original_discount_amount": 0,
"extension_attributes": {
"negotiated_price_type": 0,
"negotiated_price_value": 0,
"last_item_notes": [
{}
],
"is_discounting_locked": false,
"min_qty": 0,
"max_qty": 0
}
}
}
}
Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?