I am trying to use a few API which has a localization associated with the entity for few of its attributes. I would like to get & update these properties using API.
When a GET request is done on the entity, I don’t get attributes that are associated with localization in the response. Also, I am not sure how I should update these attributes via API Patch Call.
Please guide me.
This topic was modified 5 years, 8 months ago by sachingk.30.
Please let me know which version of Oro Commerce you are use. I’ve tested the product API on the latest version of 2.6 and master and this API returns localized fields.
An API functionality was improved a lot in the newest version, go get localized fields works at API you need to update to 1.6 LTS. I understand that this can be hard in case of a big customization, but using an old unsupported version is not recommended as it’s not secure and you will not get new important bugfixes there.
And Incompatibilities-*.md files for all the versions, where you can find a description of all BC breaks done in the scope of the next releases to estimate the upgrade process based on how much functionality you are extending was changed. Like this one for upgrade the Platform package from 2.1 to 2.2 version https://github.com/oroinc/platform/blob/master/incompatibilities-2-2.md
Best regards.
Author
Replies
Viewing 3 replies - 1 through 3 (of 3 total)
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.