Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

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 alexandre.pinheiro-da-silva 11 months, 2 weeks ago.

  • 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)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossossossosso