From 1853e499583c1adaafe93ba73b386601b3c0ce39 Mon Sep 17 00:00:00 2001 From: Jared Hoover Date: Fri, 20 Nov 2026 15:35:22 -0600 Subject: [PATCH 1/2] add custom attribute by orderid --- src/pages/rest/modules/custom-attributes.md | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/pages/rest/modules/custom-attributes.md b/src/pages/rest/modules/custom-attributes.md index fb005ed1f..0708ed437 100644 --- a/src/pages/rest/modules/custom-attributes.md +++ b/src/pages/rest/modules/custom-attributes.md @@ -250,6 +250,30 @@ curl -i -X POST \ If an order item has custom attributes, they will be returned as part of the order item object in responses to requests like `GET /V1/orders/items/{id}`. + + +The `POST /V1/orders/{orderId}/customAttributes` endpoint allows you to add or update custom attributes on already existing orders. The request body must include an array of `customAttributes`. + +```curl +curl -i -X POST \ + -H "Content-Type:application/json" \ + -H "Authorization:Bearer " \ + -d \ +'{ + "customAttributes":[ + { + "attribute_code": "attr_one", + "value": "value_one" + }, + { + "attribute_code": "attr_two", + "value": "value_two" + } + ] +}' \ + 'https:///rest/all/V1/orders/{orderId}/customAttributes' +``` + ### Negotiable Quote The `POST /V1/negotiableQuote/setCustomAttributes` endpoint allows you to set custom attributes on a negotiable quote. The request body must include the `quote_id` and an array of `custom_attributes`. From fdce453d183f2e2367629bcb3d1feb22453c4039 Mon Sep 17 00:00:00 2001 From: Jared Hoover Date: Fri, 20 Nov 2026 17:17:22 -0600 Subject: [PATCH 2/2] remove saas --- src/pages/rest/modules/custom-attributes.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/rest/modules/custom-attributes.md b/src/pages/rest/modules/custom-attributes.md index 0708ed437..3ef510d89 100644 --- a/src/pages/rest/modules/custom-attributes.md +++ b/src/pages/rest/modules/custom-attributes.md @@ -250,8 +250,6 @@ curl -i -X POST \ If an order item has custom attributes, they will be returned as part of the order item object in responses to requests like `GET /V1/orders/items/{id}`. - - The `POST /V1/orders/{orderId}/customAttributes` endpoint allows you to add or update custom attributes on already existing orders. The request body must include an array of `customAttributes`. ```curl