ssossossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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 2 months, 1 week ago.

  • Creator
    Topic
  • #27753

    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
  • #27754

    Nobody?

    #27755

    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://www.orocrm.com/documentation/current/book/data-api#api-sandbox. This page have additional documentation about API resources.

    #27756

    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)

You must be logged in to reply to this topic.