OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions Rest API : Manage attributes of entity that has localization

This topic contains 3 replies, has 3 voices, and was last updated by  Andrey Yatsenko 5 years, 8 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #29707

    sachingk.30
    Participant

    Hi There,

    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.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #29709

    Yurii Muratov
    Participant

    Hello, @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.

    #29710

    sachingk.30
    Participant

    Hi Yurii,

    Thanks for your time.

    We are using OroCommerce 1.1.0.

    We can’t upgrade to higher version as we have made a lot of changes to other modules of OroCommerce.

    #29711

    Andrey Yatsenko
    Moderator

    Hi sachingk.30,

    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.

    To simplify the upgrade process we prepared the instruction https://oroinc.com/b2b-ecommerce/doc/1.6/dev-guide/install-upgrade-and-patch/how-to-upgrade-to-new-version

    Also, there are UPGRADE.md files at all the packages, like that one for Platform https://github.com/oroinc/platform/blob/master/UPGRADE.md

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top