ThatnHi,
I am trying to update the 'options' field of an item using https://apisandbox.dev.clover.com/v3/merchants/mId/items/itemId.
I am able to update the name, alternate name.
In my body request...I have the options listed as part of things to update but when I retrieve that inventory item, options are not listed...seems they are not been added.
Here is the request Clover Reference is generating for the post:
Thanks in advance.
I am trying to update the 'options' field of an item using https://apisandbox.dev.clover.com/v3/merchants/mId/items/itemId.
I am able to update the name, alternate name.
In my body request...I have the options listed as part of things to update but when I retrieve that inventory item, options are not listed...seems they are not been added.
Here is the request Clover Reference is generating for the post:
var request = require("request"); var options = { method: 'POST', url: 'https://apisandbox.dev.clover.com/v3/merchants/{mID}/items/{itemID}', qs: { expand: 'options', access_token: 'ACCESS_TOKEN' }, headers: { 'content-type': 'application/json' }, body: '{"options":[{"name":"image_url","attribute":{"id":"1A"},"items":[{"id":"101AL"},{"id":"102AL"}]}],"name":"Item Name 1","alternateName":"Alternate Name 2","price":400}' }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });Is there a way to update and push more options to the options field of each inventory item?
Thanks in advance.