Hello,
I just played around with the API explorer on Sandbox, and performed an insertion via curl
. Then, I listed the entire Catalog
via the following request:
curl https://connect.squareupsandbox.com/v2/catalog/list \
-H 'Square-Version: 2020-09-23' \
-H 'Authorization: Bearer {{access_token}}' \
-H 'Content-Type: application/json'
And you can see that it’s returning this example flesh-eating flower that I inserted:
{
"objects": [
{
"type": "ITEM",
"id": "AH6EYPL6MZ7H7XUA2MZ6N5EJ",
"updated_at": "2020-10-27T14:39:08.834Z",
"version": 1603809548834,
"is_deleted": false,
"present_at_all_locations": true,
"item_data": {
"name": "Culeothesis Necrosis",
"description": "Will eat your face.",
"abbreviation": "CULNEC",
"label_color": "A52A2A",
"available_online": true,
"available_for_pickup": true,
"available_electronically": true,
"product_type": "REGULAR"
}
}
]
}
Unfortunately, as the attached image betrays, my Square Dashboard appears to not have those items stored.
I was wondering if I could have some assistance with understanding what I’m doing wrong. Thank you. For reference, my application id is sandbox-sq0idb-asFaurAJu-NjDR6QBfup_A
.