question

priyankamanna avatar image
priyankamanna asked bryanvargas commented

Category created without Items

I have created category with Item IDs but in response Items are not assosiated with that category.

tried with this body_params and endpoint

request.body = "{\"items\":[{\"id\":\"GAAAE1RTYV1QQ\"},{\"id\":\"QAE1RTYQAE1RTY\"}],\"name\":\"category_1\"}"

url = URI("https://sandbox.dev.clover.com/v3/merchants/mId/categories?expand=items")


and also tried

=> #<URI::HTTPS https://sandbox.dev.clover.com/v3/merchants/mid/category_items>;

request.body = { "elements" :[{ "item" :{ "id" : "8W4BW0KFT00PP" }, "category" :{ "id" : "ADGJQNZMCTZ6A" }}]}.to_json
Inventory
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image bryanvargas ♦♦ commented ·

Associating items with a category endpoint should work. Currently the output JSON will not show data but the following change has happened on the merchant dashboard:


https://docs.clover.com/docs/managing-categories#associating-items-with-a-category

1 Like 1 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community