Get a Price Book Modifier
GET
a Price Book Modifier
https://api.moltin.com/pcm/pricebooks/:pricebookId/modifiers/:modifierId
Retrieves the specified price book modifier from the specified price book.
Parameters
Path parameters
Name | Required | Type | Description |
---|---|---|---|
pricebookId | Required | string | The ID of the pricebook. |
modifierId | Required | string | The ID of the modifier that you want to retrieve. |
Headers
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token required to get access to the API. |
Request Example
curl GET https://api.moltin.com/pcm/pricebooks/fe3f3f4c-bf36-44fc-9af6-e460276b2a45/modifiers/54323af0-2b82-4d8a-97dc-eae178b82b0a \
-H "Authorization: Bearer XXXX"
-H "Content-Type: application/json" \
Response Example
200 OK
{
"data": {
"id": "435ec8c4-32a3-41bf-82e6-843f2bda1f7a",
"attributes": {
"currencies": {
"USD": {
"amount": 99,
"includes_tax": false
}
},
"modifier_type": "price_increment",
"name": "large_supplement"
},
"meta": {
"owner": "store"
},
"type": "price-modifier"
},
"links": {
"self": "/pcm/pricebooks/2d65a2e6-70e7-489e-b8ab-52367703aa03/modifiers/435ec8c4-32a3-41bf-82e6-843f2bda1f7a"
}
}