Command Palette

Search for a command to run...

Search Documentation

Search documentation topics, API endpoints, and guides

getServices
Source

OpenAPI Documentation

GET /v1/services/{serviceId}

Retrieve a service

Fetch one orderable product before creating an order.

Last updated on 5/26/2026

Endpoint

get/v1/services/{serviceId}

Retrieves one orderable store product by serviceId. Use this before order creation when you need the current price, currency, quantity limits, or stock state. The amount field is always an integer minor-unit value paired with an ISO currency code.

Authentication

Include your customer API key in the Authorization header:

shell
Authorization: Bearer $AUTOMATIC_PALLET_API_KEY

Request

Parameters

NameInTypeRequiredDescription
serviceIdpathstringRequiredIdentifier of an orderable store product exposed as an API service.

Responses

200Service details.
200 Response Schema
{
  "$ref": "#/components/schemas/Service"
}
401Missing or invalid API key.
401 Response Schema
{
  "$ref": "#/components/schemas/ErrorResponse"
}
403API key lacks services:read.
403 Response Schema
{
  "$ref": "#/components/schemas/ErrorResponse"
}
404Service not found.
404 Response Schema
{
  "$ref": "#/components/schemas/ErrorResponse"
}

Example cURL Request

cURL
curl "https://automaticpallet.com/v1/services/$SERVICE_ID" \
  -H "Authorization: Bearer $AUTOMATIC_PALLET_API_KEY"