Langsung ke konten utama
GET
/
products
/
{product_id}
/
localized-prices
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});

const listLocalizedPricesResponse = await client.products.localizedPrices.list(
  'pdt_R8AWMPiV8RyJElcCKvAID',
);

console.log(listLocalizedPricesResponse.items);
{
  "items": [
    {
      "amount": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "product_id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Otorisasi

Authorization
string
header
wajib

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parameter Path

product_id
string
wajib

Product Id

Respons

Active localized rules

items
object[]
wajib
Terakhir diubah pada 26 Juni 2026