Piloterr

Stadium Goods Product

GET
/v2/stadiumgoods/product

Read a Stadium Goods product by handle or URL.

Credit cost: 1 credit per call

Autorización

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parámetros de consulta

query*string

Product handle, for example 9060-triple-black-140077, or a stadiumgoods.com product URL.

return_page_source?boolean

Return the Shopify JSON instead of the parsed product.

Defaultfalse
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Cuerpo de la respuesta

Successful response

application/json
  1. response
id?string
url?string
name?string
brand?string
price?number
handle?string
currency?string
variants?array<>
available?boolean
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/stadiumgoods/product?query=string'
Example Response
{  "id": "8131216572612",  "url": "https://www.stadiumgoods.com/products/9060-triple-black-140077",  "name": "9060 Triple Black",  "brand": "New Balance",  "price": 159.99,  "handle": "9060-triple-black-140077",  "currency": "USD",  "variants": [    {      "sku": "U9060BPM",      "size": "10",      "color": "BLACK",      "price": 159.99,      "available": true,      "price_display": "$159.99"    }  ],  "available": true,  "price_display": "$159.99"}