-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Description
I'm trying to update productclasses
attributes via the admin API, my first test was to GET and PUT a document just to check if it rounds-trip, but it won't. I then tried to patch the 'attributes' attribute without changing it, like:
product_class = session.get("url of a product class").json()
response = session.patch(
product_class["url"], json={"attributes": product_class["attributes"]}
)
print(response.json())
but it gives:
{'attributes': [{'product_class': ['This field is required.']}, {'product_class': ['This field is required.']}, {'product_class': ['This field is required.']}]}
which feels broken?
Metadata
Metadata
Assignees
Labels
No labels