Use this reference for exact request attributes, response envelopes, object shape, and examples. For catalog modeling, product-price relationships, and selling patterns, start with Manage your product catalog.
Price and product IDs from another application are treated as unavailable. Use the response error code rather than the HTTP status alone when choosing a recovery path.
The price object
A price object captures a specific monetary amount in a single currency, with optional metadata for display and organization. Prices can be associated with a product or exist independently. Each price also exposes whether it is currently active for new flows. The amount is set at creation and cannot be modified afterward—this immutability ensures that historical orders always reference the exact price that was charged.
Properties
CatalogPricev13.1.0Go SDK responsePricev14.0.0Java SDK responseCatalogPricev11.1.0PHP SDK responseCatalogPricev15.0.0Python SDK responsePricev15.0.0Ruby SDK responsePricev13.0.0TypeScript SDK responseCatalogPricev15.0.0Whether this price is active and can be used in new flows. Newly created prices are active by default. Deactivated prices remain available through lookup and pagination but are rejected by new catalog-price selections.
- #
ArchivedAtarchived_atArchivedAtarchivedAtarchivedAtarchived_atarchived_atarchivedAtDateTimeOffset?timestamp*TimeOffsetDateTimeDateTimeImmutabledatetime | NoneTimeDate | null #
FixedAmountfixed_amountFixedAmountfixedAmountfixedAmountfixed_amountfixed_amountfixedAmountAmount?object*AmountAmountarray<string, mixed>Amount | NoneT::Hash[String, T.untyped]AmountThe monetary amount for this price.Click or tap to expand- #
CurrencycurrencyCurrencycurrencycurrencycurrencycurrencycurrencyCurrencystringCurrencyCurrencystringCurrencyStringCurrencyThree-letter currency code. Supported values:"ghs""ghs"money.GHSCurrency.GHS\Inttegro\Money\Currency::GHSinttegro.money.Currency.GHSInttegro::Money::Currency::GHS"ghs","usd""usd"money.USDCurrency.USD\Inttegro\Money\Currency::USDinttegro.money.Currency.USDInttegro::Money::Currency::USD"usd","gbp""gbp"money.GBPCurrency.GBP\Inttegro\Money\Currency::GBPinttegro.money.Currency.GBPInttegro::Money::Currency::GBP"gbp","eur""eur"money.EURCurrency.EUR\Inttegro\Money\Currency::EURinttegro.money.Currency.EURInttegro::Money::Currency::EUR"eur","cny""cny"money.CNYCurrency.CNY\Inttegro\Money\Currency::CNYinttegro.money.Currency.CNYInttegro::Money::Currency::CNY"cny". Set at creation and cannot be changed.
#
ProductproductProductproductproductproductproductproductProduct?object*ProductProductarray<string, mixed>PriceEmbeddedProduct | NoneT::Hash[String, T.untyped]Product | nullClick or tap to expandThe related product, when the price is attached to one. Omitted for a standalone price. The related product omits the full
pricescollection.
Create a price POST /prices/create
Create an active fixed price, or a customer-selected price for an eligible product. The price definition and product relationship are immutable after creation—if either needs to change, create a replacement price and retire the old one.
SendInttegro.PriceType.FixedAmount"fixed_amount""fixed_amount"PriceType.FIXED_AMOUNT'fixed_amount''fixed_amount'Inttegro::Price::FixedParamsType::FIXED_AMOUNT"fixed_amount" with FixedAmountfixed_amountFixedAmountfixedAmountfixed_amountfixed_amountfixed_amountfixedAmount, or Inttegro.PriceType.CustomerSelectedAmount"customer_selected_amount""customer_selected_amount"PriceType.CUSTOMER_SELECTED_AMOUNT'customer_selected_amount''customer_selected_amount''customer_selected_amount'"customer_selected_amount" with CustomerSelectedAmountcustomer_selected_amountCustomerSelectedAmountcustomerSelectedAmountcustomer_selected_amountcustomer_selected_amountcustomer_selected_amountcustomerSelectedAmount. Do not send both definitions. Customer-selected prices require ProductIdproduct_idProductIDproductIdproduct_idproduct_idproduct_idproductId and are available only where enabled. If you provide a product ID, choose an existing product from your catalog. This endpoint currently permits attachment to an archived product and still creates the price as active; price eligibility does not consult the product’s archive state. Monetary values use the currency’s smallest unit, and currency codes are normalized to lowercase.Request attributes
CatalogPriceParamsv13.1.0Go SDK requestCreateParamsv14.0.0Java SDK requestCatalogPriceParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestParamsv15.0.0Ruby SDK requestT.any(Price::FixedParams, Customer::SelectedCatalogPriceParams)v13.0.0TypeScript SDK requestCatalogPriceParamsv15.0.0#
CustomerSelectedAmountcustomer_selected_amountCustomerSelectedAmountcustomerSelectedAmount(…)customerSelectedAmountcustomer_selected_amountcustomer_selected_amountcustomerSelectedAmountCustomerSelectedAmountParams?object*CustomerSelectedAmountParamsCustomerSelectedAmountParamsarray<string, mixed>CustomerSelectedAmountParams | UnsetTypeCustomer::SelectedCatalogPriceParamsCustomerSelectedAmountCustomerSelectedAmountParamsSelection policy required whenTypetypeTypetypetypetypetypetypeis"customer_selected_amount""customer_selected_amount""customer_selected_amount""customer_selected_amount"'customer_selected_amount''customer_selected_amount''customer_selected_amount'"customer_selected_amount".Click or tap to expand- #
SuggestedAmountssuggested_amountsSuggestedAmountssuggestedAmountssuggestedAmountssuggested_amountssuggested_amountssuggestedAmountsList<SuggestedAmountParams>?array[]SuggestedAmountParamsList<SuggestedAmountParams>list<mixed>list[SuggestedAmountParams] | UnsetTypeT.nilable(T::Array[Price::SuggestedAmountParams])SuggestedAmountParams[]Optional convenient choices. IDs and values must be unique, and at most one suggestion may be recommended.
#
FixedAmountfixed_amountFixedAmountfixedAmount(…)fixedAmountfixed_amountfixed_amountfixedAmountAmountParams?object*AmountParamsAmountParamsarray<string, mixed>AmountParams | UnsetTypeMoney::AmountParamsAmountParamsAmount required whenTypetypeTypetypetypetypetypetypeis"fixed_amount""fixed_amount""fixed_amount""fixed_amount"'fixed_amount''fixed_amount''fixed_amount'"fixed_amount".Click or tap to expand- #
ProductIdproduct_idProductIDproductId(…)productIdproduct_idproduct_idproductIdstring?stringstringStringstringstrT.nilable(String)stringPermanently associate the price with an existing product in your catalog. Required for customer-selected prices; optional for fixed prices.
- #
TypetypeTypetype(…)typetypetypetypePriceType?stringTypeTypestringType | UnsetTypePrice::FixedParamsType'fixed_amount' | 'customer_selected_amount'requiredPrice definition. Use
Inttegro.PriceType.FixedAmount"fixed_amount""fixed_amount"PriceType.FIXED_AMOUNT'fixed_amount''fixed_amount'Inttegro::Price::FixedParamsType::FIXED_AMOUNT"fixed_amount"orInttegro.PriceType.CustomerSelectedAmount"customer_selected_amount""customer_selected_amount"PriceType.CUSTOMER_SELECTED_AMOUNT'customer_selected_amount''customer_selected_amount''customer_selected_amount'"customer_selected_amount".
Request
curl https://api.inttegro.com/prices/create \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "fixed_amount",
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"label": "Monthly",
"about": "Standard monthly subscription price",
"product_id": "prod_abc123xyz789"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.prices.create({
type: "fixed_amount",
fixedAmount: {
currency: "usd",
value: 2999,
},
label: "Monthly",
about: "Standard monthly subscription price",
productId: "prod_abc123xyz789",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/money"
"github.com/inttegro/inttegro-sdk-go/v14/price"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := price.CreateParams{
Type: price.TypeFixedAmount,
FixedAmount: &money.AmountParams{
Currency: money.USD,
Value: 2999,
},
Label: "Monthly",
About: "Standard monthly subscription price",
ProductID: "prod_abc123xyz789",
}
result, err := client.Prices.Create(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.prices.create(inttegro.price.Params(
type="fixed_amount",
fixed_amount={
"currency": "usd",
"value": 2999,
},
label="Monthly",
about="Standard monthly subscription price",
product_id="prod_abc123xyz789",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->prices->create([
'type' => 'fixed_amount',
'fixed_amount' => [
'currency' => 'usd',
'value' => 2999,
],
'label' => 'Monthly',
'about' => 'Standard monthly subscription price',
'product_id' => 'prod_abc123xyz789',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.prices.create(
type: "fixed_amount",
fixed_amount: {
currency: "usd",
value: 2999,
},
label: "Monthly",
about: "Standard monthly subscription price",
product_id: "prod_abc123xyz789"
)import com.inttegro.Client;
import com.inttegro.prices.CatalogPriceParams;
import com.inttegro.money.AmountParams;
import com.inttegro.money.Currency;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var type = new Type();
var params = CatalogPriceParams.builder()
.type(type)
.fixedAmount(AmountParams.of(Currency.USD, 2999))
.label("Monthly")
.about("Standard monthly subscription price")
.productId("prod_abc123xyz789")
.build();
var result = client.prices().create(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Prices.CreateAsync(new CatalogPriceParams {
Type = "fixed_amount",
FixedAmount = new AmountParams {
Currency = Inttegro.Money.Currency.USD,
Value = 2999,
},
Label = "Monthly",
About = "Standard monthly subscription price",
ProductId = "prod_abc123xyz789",
});{
"price": {
"id": "pr_k8m2x9v4n7p1",
"about": "Standard monthly subscription price",
"active": true,
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"created_at": "2026-02-13T02:00:00Z",
"label": "Monthly",
"product": {
"id": "prod_abc123xyz789",
"about": "Starter plan for solo businesses",
"active": true,
"attributes": [
{
"name": "tier",
"value": "starter"
}
],
"category": "software",
"created_at": "2026-02-13T01:45:00Z",
"custom_data": {
"plan": "starter"
},
"description": "Standard monthly subscription",
"name": "Starter plan",
"published_at": "2026-02-13T02:05:00Z",
"reference": "plan-starter-monthly",
"tax_code": "txcd_software",
"type": "digital"
}
}
}Archive a price POST /prices/archive
Activeprice.activeActiveactiveactiveactiveactiveactive to falsefalsefalsefalsefalseFalsefalsefalse, records ArchivedAtprice.archived_atArchivedAtarchivedAtarchivedAtarchived_atarchived_atarchivedAt, and advances UpdatedAtprice.updated_atUpdatedAtupdatedAtupdatedAtupdated_atupdated_atupdatedAt. The amount, optional product relationship, and historical order snapshots remain unchanged.Archived prices remain available through lookup and pagination but cannot be activated or selected by new catalog-priced order and purchase-intent flows. An already-archived price returns a lifecycle conflict; create a new price if you later need the same amount again.
Request attributes
Price::ActionRequestv13.0.0TypeScript SDK requestPriceActionRequestv15.0.0Request
curl https://api.inttegro.com/prices/archive \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: archive-price-pr_k8m2x9v4n7p1" \
-d '{"price_id":"pr_k8m2x9v4n7p1"}'Official SDK coverage for POST /prices/archive is pending.
Add this operation to the checked-in SDKs before publishing a runnable sample here.{
"price": {
"id": "pr_k8m2x9v4n7p1",
"about": "Standard monthly subscription price",
"active": false,
"archived_at": "2026-03-01T09:00:00Z",
"created_at": "2026-02-13T02:00:00Z",
"label": "Monthly",
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"product": {
"id": "prod_abc123xyz789",
"active": true,
"created_at": "2026-02-13T01:45:00Z",
"name": "Starter plan",
"type": "digital"
},
"updated_at": "2026-03-01T09:00:00Z"
}
}Lookup a price POST /prices/lookup
FixedAmountprice.fixed_amountFixedAmountfixedAmountfixedAmountfixed_amountfixed_amountfixedAmount amount, any associated product snapshot, and lifecycle timestamps; a standalone price omits Productprice.productProductproductproductproductproductproduct.Request attributes
LookupPriceRequestv13.1.0Go SDK requestv14.0.0Java SDK requestv11.1.0PHP SDK requestv15.0.0Python SDK requestv15.0.0Ruby SDK requestPrice::LookupRequestv13.0.0TypeScript SDK requestLookupPriceRequestv15.0.0Request
curl https://api.inttegro.com/prices/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"price_id": "pr_k8m2x9v4n7p1"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.prices.lookup({
priceId: "pr_k8m2x9v4n7p1",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Prices.Lookup(ctx, "pr_k8m2x9v4n7p1")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.prices.lookup("pr_k8m2x9v4n7p1")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->prices->lookup("pr_k8m2x9v4n7p1");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.prices.lookup(price_id: "pr_k8m2x9v4n7p1")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.prices().lookup("pr_k8m2x9v4n7p1");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Prices.LookupAsync("pr_k8m2x9v4n7p1");{
"price": {
"id": "pr_k8m2x9v4n7p1",
"about": "Standard monthly subscription price",
"active": true,
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"created_at": "2026-02-13T02:00:00Z",
"label": "Monthly",
"product": {
"id": "prod_abc123xyz789",
"about": "Starter plan for solo businesses",
"active": true,
"attributes": [
{
"name": "tier",
"value": "starter"
}
],
"category": "software",
"created_at": "2026-02-13T01:45:00Z",
"custom_data": {
"plan": "starter"
},
"description": "Standard monthly subscription",
"name": "Starter plan",
"published_at": "2026-02-13T02:05:00Z",
"reference": "plan-starter-monthly",
"tax_code": "txcd_software",
"type": "digital"
}
}
}Page through prices POST /prices/page
ProductIdproduct_idProductIDproductIdproduct_idproduct_idproduct_idproductId, the page is scoped to prices belonging to that product only. This includes active, inactive, and archived prices, which lets you inspect the full pricing history for a product or for your broader catalog.Request attributes
PricePageRequestv13.1.0Go SDK requestPageParamsv14.0.0Java SDK requestPagePricesParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestPageRequestv15.0.0Ruby SDK requestPrice::PageRequestv13.0.0TypeScript SDK requestPagePricesRequestv15.0.0- #
PageNumberpage_numberPageNumberpageNumber(…)pageNumberpage_numberpage_numberpageNumberint?integerintIntegerintintT.nilable(Integer)number1-based page index to fetch. Defaults to
1when omitted. - #
ProductIdproduct_idProductIDproductId(…)productIdproduct_idproduct_idproductIdstring?stringstringStringstringstrT.nilable(String)stringOptional product ID to scope the results to a single product.
Request
curl https://api.inttegro.com/prices/page \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page_number": 1,
"page_size": 2,
"product_id": "prod_abc123xyz789"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.prices.page({
pageNumber: 1,
pageSize: 2,
productId: "prod_abc123xyz789",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/price"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := price.PageParams{
PageNumber: 1,
PageSize: 2,
ProductID: "prod_abc123xyz789",
}
result, err := client.Prices.Page(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.prices.page(inttegro.price.PageRequest(
page_number=1,
page_size=2,
product_id="prod_abc123xyz789",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->prices->page([
'page_number' => 1,
'page_size' => 2,
'product_id' => 'prod_abc123xyz789',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.prices.page(
page_number: 1,
page_size: 2,
product_id: "prod_abc123xyz789"
)import com.inttegro.Client;
import com.inttegro.prices.PagePricesParams;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = PagePricesParams.builder()
.pageNumber(1)
.pageSize(2)
.productId("prod_abc123xyz789")
.build();
var result = client.prices().page(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Prices.PageAsync(new PricePageRequest {
PageNumber = 1,
PageSize = 2,
ProductId = "prod_abc123xyz789",
});{
"page": {
"number": 1,
"size": 2,
"prices": [
{
"id": "pr_k8m2x9v4n7p1",
"about": "Standard monthly subscription price",
"active": true,
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"created_at": "2026-02-13T02:00:00Z",
"label": "Monthly",
"product": {
"id": "prod_abc123xyz789",
"about": "Starter plan for solo businesses",
"active": true,
"attributes": [
{
"name": "tier",
"value": "starter"
}
],
"category": "software",
"created_at": "2026-02-13T01:45:00Z",
"custom_data": {
"plan": "starter"
},
"description": "Standard monthly subscription",
"name": "Starter plan",
"published_at": "2026-02-13T02:05:00Z",
"reference": "plan-starter-monthly",
"tax_code": "txcd_software",
"type": "digital"
},
"updated_at": "2026-02-13T04:10:00Z"
},
{
"id": "pr_b1n9q2e5m6r7",
"about": "Legacy promotional price",
"active": false,
"fixed_amount": {
"currency": "usd",
"value": 2499
},
"archived_at": "2026-03-01T09:00:00Z",
"created_at": "2026-01-10T08:00:00Z",
"label": "Promo",
"product": {
"id": "prod_abc123xyz789",
"about": "Starter plan for solo businesses",
"active": true,
"attributes": [
{
"name": "tier",
"value": "starter"
}
],
"category": "software",
"created_at": "2026-02-13T01:45:00Z",
"custom_data": {
"plan": "starter"
},
"description": "Standard monthly subscription",
"name": "Starter plan",
"published_at": "2026-02-13T02:05:00Z",
"reference": "plan-starter-monthly",
"tax_code": "txcd_software",
"type": "digital"
},
"updated_at": "2026-03-01T09:00:00Z"
}
]
}
}Update a price POST /prices/update
AboutaboutAboutaboutaboutaboutaboutabout and LabellabelLabellabellabellabellabellabel are mutable. The product association and Price.FixedAmountprice.fixed_amountPrice.FixedAmountprice.fixedAmountprice.fixed_amountprice.fixed_amountprice.fixed_amountprice.fixedAmount amount remain fixed after creation, so create a new price when either needs to change.Do not send amount or product_id: they are not supported updates. Updating an archived price’s descriptive fields is currently allowed and does not reactivate it. Sending no changed descriptive fields returns the current price without advancing Price.UpdatedAtprice.updated_atPrice.UpdatedAtprice.updatedAtprice.updated_atprice.updated_atprice.updated_atprice.updatedAt.Request attributes
UpdatePriceRequestv13.1.0Go SDK requestUpdateParamsv14.0.0Java SDK requestUpdatePriceParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestUpdateRequestv15.0.0Ruby SDK requestPrice::UpdateRequestv13.0.0TypeScript SDK requestUpdatePriceRequestv15.0.0Request
curl https://api.inttegro.com/prices/update \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"price_id": "pr_k8m2x9v4n7p1",
"label": "Monthly (discounted)",
"about": "Promotional monthly rate for early adopters"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.prices.update({
priceId: "pr_k8m2x9v4n7p1",
label: "Monthly (discounted)",
about: "Promotional monthly rate for early adopters",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/price"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := price.UpdateParams{
PriceID: "pr_k8m2x9v4n7p1",
Label: "Monthly (discounted)",
About: "Promotional monthly rate for early adopters",
}
result, err := client.Prices.Update(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.prices.update(inttegro.price.UpdateRequest(
price_id="pr_k8m2x9v4n7p1",
label="Monthly (discounted)",
about="Promotional monthly rate for early adopters",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->prices->update([
'price_id' => 'pr_k8m2x9v4n7p1',
'label' => 'Monthly (discounted)',
'about' => 'Promotional monthly rate for early adopters',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.prices.update(
price_id: "pr_k8m2x9v4n7p1",
label: "Monthly (discounted)",
about: "Promotional monthly rate for early adopters"
)import com.inttegro.Client;
import com.inttegro.prices.UpdatePriceParams;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = UpdatePriceParams.builder()
.priceId("pr_k8m2x9v4n7p1")
.label("Monthly (discounted)")
.about("Promotional monthly rate for early adopters")
.build();
var result = client.prices().update(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Prices.UpdateAsync(new Inttegro.UpdatePriceRequest {
PriceId = "pr_k8m2x9v4n7p1",
Label = "Monthly (discounted)",
About = "Promotional monthly rate for early adopters",
});{
"price": {
"id": "pr_k8m2x9v4n7p1",
"about": "Promotional monthly rate for early adopters",
"active": true,
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"created_at": "2026-02-13T02:00:00Z",
"label": "Monthly (discounted)",
"product": {
"id": "prod_abc123xyz789",
"about": "Starter plan for solo businesses",
"active": true,
"attributes": [
{
"name": "tier",
"value": "starter"
}
],
"category": "software",
"created_at": "2026-02-13T01:45:00Z",
"custom_data": {
"plan": "starter"
},
"description": "Standard monthly subscription",
"name": "Starter plan",
"published_at": "2026-02-13T02:05:00Z",
"reference": "plan-starter-monthly",
"tax_code": "txcd_software",
"type": "digital"
},
"updated_at": "2026-02-13T03:00:00Z"
}
}Activate a price POST /prices/activate
Activeprice.activeActiveactiveactiveactiveactiveactive to truetruetruetruetrueTruetruetrue and advances UpdatedAtprice.updated_atUpdatedAtupdatedAtupdatedAtupdated_atupdated_atupdatedAt.Archived prices cannot be activated, and an already-active price returns a lifecycle conflict.
Request attributes
Price::ActionRequestv13.0.0TypeScript SDK requestPriceActionRequestv15.0.0Request
curl https://api.inttegro.com/prices/activate -H "Authorization: Bearer $INTTEGRO_API_KEY" -H "Content-Type: application/json" -d '{
"price_id": "pr_k8m2x9v4n7p1"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.prices.activate({
priceId: "pr_k8m2x9v4n7p1",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Prices.Activate(ctx, "pr_k8m2x9v4n7p1")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.prices.activate("pr_k8m2x9v4n7p1")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->prices->activate("pr_k8m2x9v4n7p1");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.prices.activate(price_id: "pr_k8m2x9v4n7p1")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.prices().activate("pr_k8m2x9v4n7p1");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Prices.ActivateAsync("pr_k8m2x9v4n7p1");{
"price": {
"id": "pr_k8m2x9v4n7p1",
"about": "Standard monthly subscription price",
"active": true,
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"created_at": "2026-02-13T02:00:00Z",
"label": "Monthly",
"product": {
"id": "prod_abc123xyz789",
"about": "Starter plan for solo businesses",
"active": true,
"attributes": [
{
"name": "tier",
"value": "starter"
}
],
"category": "software",
"created_at": "2026-02-13T01:45:00Z",
"custom_data": {
"plan": "starter"
},
"description": "Standard monthly subscription",
"name": "Starter plan",
"published_at": "2026-02-13T02:05:00Z",
"reference": "plan-starter-monthly",
"tax_code": "txcd_software",
"type": "digital"
},
"updated_at": "2026-02-13T04:10:00Z"
}
}Deactivate a price POST /prices/deactivate
Deactivate a price so it is rejected by new catalog-priced order and purchase-intent flows. This is the reversible alternative to archiving: the price remains visible through lookup and pagination and can be reactivated later.
Deactivation only affects future selections. Existing orders that already reference the price keep their recorded amount. Archived and already-inactive prices return lifecycle conflicts.
Request attributes
Price::ActionRequestv13.0.0TypeScript SDK requestPriceActionRequestv15.0.0Request
curl https://api.inttegro.com/prices/deactivate -H "Authorization: Bearer $INTTEGRO_API_KEY" -H "Content-Type: application/json" -d '{
"price_id": "pr_k8m2x9v4n7p1"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.prices.deactivate({
priceId: "pr_k8m2x9v4n7p1",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Prices.Deactivate(ctx, "pr_k8m2x9v4n7p1")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.prices.deactivate("pr_k8m2x9v4n7p1")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->prices->deactivate("pr_k8m2x9v4n7p1");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.prices.deactivate(price_id: "pr_k8m2x9v4n7p1")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.prices().deactivate("pr_k8m2x9v4n7p1");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Prices.DeactivateAsync("pr_k8m2x9v4n7p1");{
"price": {
"id": "pr_k8m2x9v4n7p1",
"about": "Standard monthly subscription price",
"active": false,
"fixed_amount": {
"currency": "usd",
"value": 2999
},
"created_at": "2026-02-13T02:00:00Z",
"label": "Monthly",
"product": {
"id": "prod_abc123xyz789",
"about": "Starter plan for solo businesses",
"active": true,
"attributes": [
{
"name": "tier",
"value": "starter"
}
],
"category": "software",
"created_at": "2026-02-13T01:45:00Z",
"custom_data": {
"plan": "starter"
},
"description": "Standard monthly subscription",
"name": "Starter plan",
"published_at": "2026-02-13T02:05:00Z",
"reference": "plan-starter-monthly",
"tax_code": "txcd_software",
"type": "digital"
},
"updated_at": "2026-02-13T04:20:00Z"
}
}