How to update the attribute via API?

Created by Support Agent, Modified on Sun, 19 Apr at 1:53 AM by Support Agent

Question:


I would like to update the attribute via API. Could you please give an example?


Answer:


You can update the customer attributes via Restful APIs, here is the guide: API Support 

Regarding the "updating value of customer attributes",  please take a look at this

"custom_attributes": [

        {

            "attribute_code": "ca_document_type",

            "value": "217"

        }

    ]

Hope this information will help you.


If you have any queries, please feel free to contact us.

We're more than happy to support you.


About us


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Discover our extensions: https://bsscommerce.com/magento-2-extensions.html 


If you want to find the best solution for your website, here are our top tier plugins:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article