v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-081445491.8 MB
Price

Fetch price by external price id

This endpoint returns a price given an external price id. See the price creation API for more information about external price aliases.

get/prices/external_price_id/{external_price_id}

Path parameters

external_price_idstring required

Response

OK

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "discount": {
    "applies_to_price_ids": [
      "h74gfhdjvn7ujokd",
      "7hfgtgjnbvc3ujkl"
    ],
    "percentage_discount": 0.15
  }
}