Skip to main content

Get Catalog

Retrieves the available hardware catalog with pricing and stock information for a specific country.

Authentication

This endpoint requires authentication. See Authentication for details.

Parameters

ParameterTypeRequiredDescription
countryCodestringNoFilter catalog by country in ISO 3166-1 alpha-2 format

Request

Production URL: https://orchestrator.tecspal.com/
Sandbox URL: https://tecspal-orchestrator.sandbox.lexartlabs.uy/
Endpoint: GET /catalog

Example Request

{
"filters": {
"countryCode": "UY"
},
"request": "catalog",
"vendor": "tecspal",
"verb": "GET"
}

Note: The countryCode parameter is optional. If not provided, the endpoint will return catalog items for all countries.

Response Schema

PropertyTypeDescription
statusCodenumberHTTP status code of the response
messagestringDescription of the response status
enveloparrayArray containing catalog items grouped by country

Hardware Properties

PropertyTypeDescription
idstringUnique identifier of the hardware item
countryCodestringCountry code where the hardware is located
pricestringPrice of the hardware (as string)
stockstringQuantity available in stock (as string)
brandstringBrand name of the hardware (if available)
namestringName of the device (e.g., MacBook Pro)
ramstringRAM size (e.g., "16GB")
diskSpacestringDisk space size (e.g., "512GB")
displaySizestringDisplay size (e.g., "14 inch", "16 inch")
processorstringProcessor model (e.g., "M1 Pro")
imagestringURL of the hardware image
deprecatedbooleanIndicates if this hardware model is deprecated
manufacturerPartNumberstring | nullManufacturer part number (if available)
hardwareTypestring | nullHardware type name (e.g., "MACBOOK", "PC")

Example Response

{
"envelop": [
{
"UY": [
{
"id": "fbb910c7-9dbe-4bf5-bddc-00f98f5848bf",
"countryCode": "UY",
"price": "5000",
"stock": "1000",
"brand": "APPLE",
"name": "MacBook Pro",
"ram": "16GB",
"diskSpace": "512GB",
"displaySize": "16 inch",
"processor": "M1 Pro",
"image": "https://a-us.storyblok.com/f/1001855/789x500/82ee51ba4d/macbook-pro-16.png",
"deprecated": false,
"manufacturerPartNumber": null,
"hardwareType": "MACBOOK"
},
{
"id": "5d473040-46fa-43c2-b550-fc32af9b9b4c",
"countryCode": "UY",
"price": "4000",
"stock": "100",
"brand": "APPLE",
"name": "MacBook Pro",
"ram": "16GB",
"diskSpace": "512GB",
"displaySize": "14 inch",
"processor": "M1 Pro",
"image": "https://a-us.storyblok.com/f/1001855/1997x1169/9ad84eb1c8/macbook-pro-13-other.png",
"deprecated": false,
"manufacturerPartNumber": null,
"hardwareType": "MACBOOK"
}
]
}
],
"message": "Request successful",
"statusCode": 200
}

Error Responses

Bad Request (400)

{
"error": "Bad Request",
"message": "Invalid country code",
"statusCode": 400
}

Unauthorized (401)

{
"error": "Unauthorized",
"message": "Unauthorized access",
"statusCode": 401
}

Notes

  • Catalog items are grouped by country code in the response
  • Prices are in USD
  • Stock levels are updated in real-time
  • The catalog includes detailed specifications for each hardware model
  • Items marked as deprecated: true are no longer recommended for new orders but may still be available in stock