Defines the response body returned from the SearchCatalogItems endpoint.
Search Catalog Items Response
Name | Type | Tags | Description |
---|---|---|---|
errors |
List Error |
Optional | Any errors that occurred during the request. |
items |
List Catalog Object |
Optional | Returned items matching the specified query expressions. |
cursor |
str |
Optional | Pagination token used in the next request to return more of the search result. |
matched_variation_ids |
List[str] |
Optional | Ids of returned item variations matching the specified query expression. |
{
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
}
],
"items": [
{
"type": "SUBSCRIPTION_PLAN",
"id": "id8",
"updated_at": "updated_at6",
"version": 38,
"is_deleted": false,
"custom_attribute_values": {
"key0": {
"name": "name8",
"string_value": "string_value2",
"custom_attribute_definition_id": "custom_attribute_definition_id4",
"type": "STRING",
"number_value": "number_value8"
},
"key1": {
"name": "name8",
"string_value": "string_value2",
"custom_attribute_definition_id": "custom_attribute_definition_id4",
"type": "STRING",
"number_value": "number_value8"
},
"key2": {
"name": "name8",
"string_value": "string_value2",
"custom_attribute_definition_id": "custom_attribute_definition_id4",
"type": "STRING",
"number_value": "number_value8"
}
},
"catalog_v1_ids": [
{
"catalog_v1_id": "catalog_v1_id4",
"location_id": "location_id4"
},
{
"catalog_v1_id": "catalog_v1_id4",
"location_id": "location_id4"
},
{
"catalog_v1_id": "catalog_v1_id4",
"location_id": "location_id4"
}
]
}
],
"cursor": "cursor2",
"matched_variation_ids": [
"matched_variation_ids3"
]
}