OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM JSON.API: try to inser Product

This topic contains 3 replies, has 2 voices, and was last updated by  alexandre.pinheiro-da-silva 6 years, 5 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
  • #30755

    Hello,
    i’m using the JSON.API and I try to insert products.
    My JSON body looks like this:

    And I get this Response:

    Where is the right position to put the attributeFamily?

    Anybody can help?
    Many thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #30756

    Nobody?

    #30757

    Yurii Muratov
    Participant

    Hi, alexandre.pinheiro-da-silva.
    Please specify what version of commerce do you use.

    As for me, you send wrong type of data for attributeFamily relation.
    You send products instead of attributefamilies.

    P.S. To be able to easy test API you can use API Sandbox page https://oroinc.com/orocrm/documentation/current/book/data-api#api-sandbox. This page have additional documentation about API resources.

    #30758

    Hello, thanks for your answer.
    We found out that our Oro was not up to date. And the attributeFamily was not integrated in our system. So we couldn’t see it in the Sandbox.

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

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top