Admin APIProducts
Get a product's specifications
The whole spec sheet in one call: the global groups and fields, the
taxonomies with their terms, the values set on this product, and the
store's collections for collection_ref fields. Taxonomy values are in
term_ids (plus value_texts for free-form entries); other kinds use
value_text.
Authorization
bearer_auth AuthorizationBearer <token>
Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.
In: header
Path Parameters
store_id*string
Store id
Format
uuidproduct_id*string
Product id
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/specs"{
"collections": [
{
"handle": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string"
}
],
"groups": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"name_translations": {},
"slug": "string",
"sort_order": 0,
"fields": [
{
"allow_freeform": true,
"display_as_link": true,
"external_mapping": {},
"group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kind": "string",
"multiple": true,
"name": "string",
"name_translations": {},
"slug": "string",
"sort_order": 0,
"taxonomy_id": "315f9956-e4f8-40bc-b292-4f9898d47cf8",
"unit": "string"
}
]
}
],
"taxonomies": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"name_translations": {},
"slug": "string",
"terms": [
{
"external_values": {},
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"name_translations": {},
"parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
"slug": "string",
"sort_order": 0,
"taxonomy_id": "315f9956-e4f8-40bc-b292-4f9898d47cf8"
}
]
}
],
"values": [
{
"collection_ids": [
"555d9eae-f239-41bc-a2cb-66d805f87d95"
],
"field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6",
"term_ids": [
"dcde83ad-4a95-4487-8dbb-e48cdabb3db2"
],
"value_text": "string",
"value_texts": [
"string"
]
}
]
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}