You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/rest/modules/custom-attributes.md
+27-4Lines changed: 27 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Adobe Commerce as a Cloud Service does not support REST endpoints that modify th
31
31
32
32
When the quote is converted to an order, the custom attributes are copied to the order.
33
33
34
-
The following example shows how to set custom attributes on a cart. The `quote` object contains the `custom_attributes` array, which includes the custom attributes to set.
34
+
The following example shows how to set custom attributes on a cart when assigning a customer to a cart. The `quote` object contains the `custom_attributes` array, which includes the custom attributes to set.
A quote item with custom attributes can be added/updated using `PUT /V1/carts/{cartId}/items/:itemId`.
62
+
The `POST /V1/carts/{cartId}/customAttributes` endpoint allows you to set or update custom attributes on already existing carts. The request body must include the `cart_id` and an array of `custom_attributes`.
0 commit comments