Get a Product Variation Option

get
Get a Product Variation Option

https://api.moltin.com/v2/variations/:variationId/options/:optionId
Use this endpoint to retrieve a single variation option.
Request
Response
Path Parameters
variationId
required
string
ID of the variation.
optionId
required
string
ID of the option.
Headers
Authorization
required
string
Bearer token used to access the API.
200: OK
Single option successfully retrieved.
{
"data": {
"type": "option",
"id": "aabc3e8e-c6a6-42aa-a64b-9a7dbefedd9f",
"name": "Blue",
"description": "Our most popular color",
"relationships": {
"modifiers": {
"data": []
}
}
}
}
cURL
curl -X GET https://api.moltin.com/v2/variations/:id/options/:Id \
-H "Authorization: Bearer XXXX"

‚Äč