Skip to content

Update catalog item via patchListingsItem #4071

Answered by chapmanjw
BarnetMichal asked this question in Q&A
Discussion options

You must be logged in to vote

@BarnetMichal What does your PATCH request look like? (Can you paste a copy of the payload?) Typically, you would only see errors related to the brand attribute on a PATCH request if you provided an empty brand attribute as part of the PATCH request. A request like the following should work (replacing values with your own, such as product type, language, and values):

{
  "productType":"LUGGAGE",
  "patches":[
    {
      "op":"replace",
      "path":"/attributes/bullet_point",
      "value":[
        {
          "value":"Bullet Point 1",
          "language_tag":"en_US"
        },
        {
          "value":"Bullet Point 2",
          "language_tag":"en_US"
        }
      ]
    }
  ]
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BarnetMichal
Comment options

Answer selected by BarnetMichal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants