Chuyển đến nội dung chính
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"
    }
  ]
}

Ủy quyền

Authorization
string
header
bắt buộc

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

Tham số đường dẫn

product_id
string
bắt buộc

Product Id

Phản hồi

Active localized rules

items
object[]
bắt buộc
Lần sửa đổi cuối 26 tháng 6, 2026