springboardretail / springboard-docs

Springboard Retail official API docs
http://dev.springboardretail.com/
0 stars 0 forks source link

Wrong Curl command for accessing inventory values #7

Open iamsid2 opened 5 years ago

iamsid2 commented 5 years ago

it is given that for accessing the inventory values the curll command is -:

curl -H "Authorization: Bearer {{Token}}" "https://{{subdomain}}.myspringboard.us/api/inventory/values?group\[\]=item_id&per_page=2" if we try it then it is showing springboard encountered an internal error

The given command is wrong as we dont need [] after group . The correct curl command will be -:

curl -H "Authorization: Bearer {{Token}}" "https://{{subdomain}}.myspringboard.us/api/inventory/values?group=item_id&per_page=2"