Skip to content

Products

Describe what you sell, attach reusable prices, and control how products appear in catalog experiences.

Use this reference for exact request attributes, response envelopes, object shape, and examples. For catalog modeling, product-price relationships, media, lifecycle behavior, and selling patterns, start with Manage your product catalog.

Product and price 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 product object

A product object contains everything needed to list, sell, and fulfill an item: core identification fields (name, description, reference), pricing information, prices attached to the product, categorization for reporting and filtering, media assets for customer-facing displays, physical dimensions for shipping calculations, and extensible custom data for application-specific needs. Products live in your catalog and can be referenced in order line items.

Properties

TypeScript SDK responseProductv15.0.0

Every file-backed product media field requires an Inttegro Files API reference beginning with file_ or flink_. Upload the asset before creating or updating the product; plain remote URLs are rejected. media.webPageUrl is the sole URL field and is reserved for the product’s canonical public landing page.

Create a product POST /products/create

Create a product record with a required name and type. Product creation does not accept inline price data: create the product first, then use Add a price to a product or Create a price.New products are unpublished unless publish is true. type is permanent after creation. The API accepts one dimensions branch (dimensions.custom, dimensions.digital, or dimensions.physical) and one shipment shipment.type (Inttegro.ProductShipmentInputTypes.Delivery, Inttegro.ProductShipmentInputTypes.Download, Inttegro.ProductShipmentInputTypes.Render, or Inttegro.ProductShipmentInputTypes.Stream); negative dimension values are rejected and zero-valued dimensions are omitted from storage.

Request attributes

TypeScript SDK requestCreateProductRequestv15.0.0

Request

POST/products/create
cURLbash
curl https://api.inttegro.com/products/create \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Premium Cotton T-Shirt",
"type": "physical",
"description": "Comfortable everyday wear",
"about": "Our premium cotton t-shirt is made from 100% organic cotton...",
"category": "clothing",
"attributes": [
  { "name": "Size", "value": "Medium" },
  { "name": "Color", "value": "Blue" }
],
"media": {
  "hero_image": "file_abc123",
  "gallery": ["file_def456", "file_ghi789"]
},
"custom_data": {
  "season": "summer",
  "material": "organic_cotton"
}
}'
TypeScripttypescript
import { InttegroClient, ProductTypes } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.create({
  name: "Premium Cotton T-Shirt",
  type: ProductTypes.Physical,
  description: "Comfortable everyday wear",
  about: "Our premium cotton t-shirt is made from 100% organic cotton...",
  category: "clothing",
  attributes: [
    {
      name: "Size",
      value: "Medium",
    },
    {
      name: "Color",
      value: "Blue",
    },
  ],
  media: {
    heroImage: "file_abc123",
    gallery: [
      "file_def456",
      "file_ghi789",
    ],
  },
  customData: {
    season: "summer",
    material: "organic_cotton",
  },
})
Gogo
package main

import (
  "context"
  "log"
  "os"

  inttegro "github.com/inttegro/inttegro-sdk-go/v14"
  "github.com/inttegro/inttegro-sdk-go/v14/customdata"
  "github.com/inttegro/inttegro-sdk-go/v14/product"
)

func main() {
  ctx := context.Background()
  client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))

  params := product.CreateParams{
    Name: "Premium Cotton T-Shirt",
    Type: product.TypePhysical,
    Description: "Comfortable everyday wear",
    About: "Our premium cotton t-shirt is made from 100% organic cotton...",
    Category: "clothing",
    Attributes: []product.Attribute{
      {
        Name: "Size",
        Value: "Medium",
      },
      {
        Name: "Color",
        Value: "Blue",
      },
    },
    Media: &product.Media{
      HeroImage: "file_abc123",
      Gallery: []string{
        "file_def456",
        "file_ghi789",
      },
    },
    CustomData: func() *customdata.Data { value, err := customdata.New(map[string]string{
        "season": "summer",
        "material": "organic_cotton",
      }); if err != nil { panic(err) }; return value }(),
  }
  result, err := client.Products.Create(ctx, params)
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

import inttegro
from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.create(inttegro.product.CreateRequest(
  name="Premium Cotton T-Shirt",
  type=inttegro.product.Type.PHYSICAL,
  description="Comfortable everyday wear",
  about="Our premium cotton t-shirt is made from 100% organic cotton...",
  category="clothing",
  attributes=[
    inttegro.product.AttributeInput(
      name="Size",
      value="Medium",
    ),
    inttegro.product.AttributeInput(
      name="Color",
      value="Blue",
    ),
  ],
  media=inttegro.product.MediaInput(
    hero_image="file_abc123",
    gallery=[
      "file_def456",
      "file_ghi789",
    ],
  ),
  custom_data=inttegro.CustomData({
    "season": "summer",
    "material": "organic_cotton",
  }),
))
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->create([
  'name' => 'Premium Cotton T-Shirt',
  'type' => \Inttegro\ProductType::Physical,
  'description' => 'Comfortable everyday wear',
  'about' => 'Our premium cotton t-shirt is made from 100% organic cotton...',
  'category' => 'clothing',
  'attributes' => [
    [
      'name' => 'Size',
      'value' => 'Medium',
    ],
    [
      'name' => 'Color',
      'value' => 'Blue',
    ],
  ],
  'media' => [
    'hero_image' => 'file_abc123',
    'gallery' => [
      'file_def456',
      'file_ghi789',
    ],
  ],
  'custom_data' => [
    'season' => 'summer',
    'material' => 'organic_cotton',
  ],
]);
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.create(
  name: "Premium Cotton T-Shirt",
  type: Inttegro::ProductType::PHYSICAL,
  description: "Comfortable everyday wear",
  about: "Our premium cotton t-shirt is made from 100% organic cotton...",
  category: "clothing",
  attributes: [
    {
      name: "Size",
      value: "Medium",
    },
    {
      name: "Color",
      value: "Blue",
    },
  ],
  media: {
    hero_image: "file_abc123",
    gallery: [
      "file_def456",
      "file_ghi789",
    ],
  },
  custom_data: {
    season: "summer",
    material: "organic_cotton",
  }
)
Javajava
import com.inttegro.Client;
import com.inttegro.products.CreateProductParams;
import com.inttegro.products.ProductType;
import java.util.List;
import com.inttegro.products.ProductMediaItem;
import com.inttegro.CustomData;

public class Example {
  public static void main(String[] args) throws Exception {
    var client = new Client(System.getenv("INTTEGRO_API_KEY"));
    var attribute = new ProductAttribute();
    attribute.name = "Size";
    attribute.value = "Medium";
    var attribute2 = new ProductAttribute();
    attribute2.name = "Color";
    attribute2.value = "Blue";
    var params = CreateProductParams.builder()
      .name("Premium Cotton T-Shirt")
      .type(ProductType.PHYSICAL)
      .description("Comfortable everyday wear")
      .about("Our premium cotton t-shirt is made from 100% organic cotton...")
      .category("clothing")
      .attributes(List.of(
          attribute,
          attribute2
        ))
      .media(new ProductMediaItem[] {})
      .customData(new CustomData()
          .set("season", "summer")
          .set("material", "organic_cotton"))
      .build();
    var result = client.products().create(params);
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.CreateAsync(new CreateProductRequest {
  Name = "Premium Cotton T-Shirt",
  Type = Inttegro.ProductType.Physical,
  Description = "Comfortable everyday wear",
  About = "Our premium cotton t-shirt is made from 100% organic cotton...",
  Category = "clothing",
  Attributes = new List<ProductAttribute> {
    new ProductAttribute {
      Name = "Size",
      Value = "Medium",
    },
    new ProductAttribute {
      Name = "Color",
      Value = "Blue",
    },
  },
  Media = new ProductMedia {
    HeroImage = "file_abc123",
    Gallery = new List<string> {
      "file_def456",
      "file_ghi789",
    },
  },
  CustomData = new Inttegro.CustomData()
    .Set("season", "summer")
    .Set("material", "organic_cotton"),
});
Responsejson
{
  "product": {
    "id": "prod_abc123xyz789",
    "name": "Premium Cotton T-Shirt",
    "type": "physical",
    "active": false,
    "description": "Comfortable everyday wear",
    "category": "clothing",
    "reference": "SKU-SHIRT-BLUE-M-2024",
    "created_at": "2026-02-08T23:45:00Z"
  }
}

Search products POST /products/search

Search products by catalog text or exact category, status, and type constraints. Results are discovery summaries: use the returned product ID with Lookup a product before displaying current pricing or changing catalog state.

Request attributes

TypeScript SDK requestResourceSearchRequestv15.0.0

Response

Returns a typed search page with discovery summaries, requested facet counts, page and total counts, an optional nextCursor, and freshness metadata. Read the canonical product before acting on a result.

Request

POST/products/search
cURLbash
curl https://api.inttegro.com/products/search \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "text": "utility sneakers" }'
TypeScripttypescript
import { InttegroClient, type ResourceSearchRequest } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const request: ResourceSearchRequest = {
  text: "utility sneakers",
}
const page = await inttegro.products.search(request)
Gogo
package main

import (
  "context"
  "log"
  "os"

  inttegro "github.com/inttegro/inttegro-sdk-go/v14"
  "github.com/inttegro/inttegro-sdk-go/v14/search"
)

func main() {
  client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
  params := search.Params{
    Text: "utility sneakers",
  }
  page, err := client.Products.Search(context.Background(), params)
  if err != nil {
    log.Fatal(err)
  }
  _ = page
}
Pythonpython
import os

import inttegro
from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
request = inttegro.search.Request(
    text="utility sneakers",
)
page = client.products.search(request)
PHPphp
<?php

use Inttegro\Client;
use Inttegro\ResourceSearchRequest;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$request = new ResourceSearchRequest(
    text: 'utility sneakers',
);
$page = $client->products->search($request);
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
request = Inttegro::Search::Request.new(
  text: "utility sneakers",
)
page = client.products.search(request)
Javajava
import com.inttegro.Client;
import com.inttegro.search.ResourceSearchRequest;

public class Example {
  public static void main(String[] args) throws Exception {
    var client = new Client(System.getenv("INTTEGRO_API_KEY"));
    var request = ResourceSearchRequest.builder()
      .text("utility sneakers")
      .build();
    var page = client.products().search(request);
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var request = new ResourceSearchRequest
{
    Text = "utility sneakers",
};
var page = await inttegro.Products.SearchAsync(request);
Response excerptjson
{
  "search": {
    "results": [
      {
        "resource": { "type": "product", "id": "prod_abc123xyz" },
        "title": "Utility Sneakers",
        "summary": "Everyday low-profile sneakers",
        "status": "active",
        "updated_at": "2026-09-21T10:30:00Z"
      }
    ]
  }
}

Lookup a product POST /products/lookup

Retrieve a product by ID, including its catalog fields and non-archived attached prices. Use lookup when you need the current product record before selecting a price or replacing list-shaped fields such as attributes and media.Archived products remain available through this endpoint for historical and administrative reads; inspect archivedAt rather than treating a successful lookup as proof that the product is currently offered.

Request attributes

TypeScript SDK requestLookupProductRequestv15.0.0
  • #productIdstringrequired

    Unique product identifier returned when you created the product.

Request

POST/products/lookup
cURLbash
curl https://api.inttegro.com/products/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_abc123xyz789"
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.lookup({
  productId: "prod_abc123xyz789",
})
Gogo
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.Products.Lookup(ctx, "prod_abc123xyz789")
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.lookup("prod_abc123xyz789")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->lookup("prod_abc123xyz789");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.lookup(product_id: "prod_abc123xyz789")
Javajava
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.products().lookup("prod_abc123xyz789");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.LookupAsync("prod_abc123xyz789");
Responsejson
{
  "product": {
    "id": "prod_abc123xyz789",
    "name": "Premium Cotton T-Shirt",
    "type": "physical",
    "active": false,
    "description": "Comfortable everyday wear",
    "category": "clothing",
    "reference": "SKU-SHIRT-BLUE-M-2024",
    "attributes": [
      {
        "name": "Size",
        "value": "Medium"
      },
      {
        "name": "Color",
        "value": "Blue"
      }
    ],
    "prices": [
      {
        "id": "pr_abc123xyz789",
        "active": true,
        "fixed_amount": {
          "currency": "usd",
          "value": 2999
        }
      }
    ],
    "created_at": "2026-02-08T23:45:00Z",
    "updated_at": "2026-02-08T23:50:15Z"
  }
}

Add a price to a product POST /products/add_price

Create an active price attached to an existing, unarchived product in your catalog. The operation returns the created price; the product object has no default-price field or default-price mutation.

The response’s productId currently uses the product ID value without the prod_ type prefix; both forms are accepted when you send a product ID back to the API.

Request attributes

Request

POST/products/add_price
cURLbash
curl https://api.inttegro.com/products/add_price \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_abc123xyz789",
"label": "Wholesale",
"about": "Preferred rate for repeat buyers",
"type": "fixed_amount",
"fixed_amount": {
  "currency": "ghs",
  "value": 85000
}
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.addPrice({
  productId: "prod_abc123xyz789",
  label: "Wholesale",
  about: "Preferred rate for repeat buyers",
  type: "fixed_amount",
  fixedAmount: {
    currency: "ghs",
    value: 85000,
  },
})
Gogo
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.AddToProductParams{
    ProductID: "prod_abc123xyz789",
    Label: "Wholesale",
    About: "Preferred rate for repeat buyers",
    Type: price.TypeFixedAmount,
    FixedAmount: &money.AmountParams{
      Currency: money.GHS,
      Value: 85000,
    },
  }
  result, err := client.Prices.AddToProduct(ctx, params)
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

import inttegro
from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.add_price(inttegro.product.AddPriceRequest(
  product_id="prod_abc123xyz789",
  label="Wholesale",
  about="Preferred rate for repeat buyers",
  type="fixed_amount",
  fixed_amount={
    "currency": "ghs",
    "value": 85000,
  },
))
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->addPrice([
  'product_id' => 'prod_abc123xyz789',
  'label' => 'Wholesale',
  'about' => 'Preferred rate for repeat buyers',
  'type' => 'fixed_amount',
  'fixed_amount' => [
    'currency' => 'ghs',
    'value' => 85000,
  ],
]);
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.add_price(
  product_id: "prod_abc123xyz789",
  label: "Wholesale",
  about: "Preferred rate for repeat buyers",
  type: "fixed_amount",
  fixed_amount: {
    currency: "ghs",
    value: 85000,
  }
)
Javajava
import com.inttegro.Client;
import com.inttegro.products.AddProductPriceParams;
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 = AddProductPriceParams.builder()
      .productId("prod_abc123xyz789")
      .label("Wholesale")
      .about("Preferred rate for repeat buyers")
      .type(type)
      .fixedAmount(AmountParams.of(Currency.GHS, 85000))
      .build();
    var result = client.products().addPrice(params);
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.AddPriceAsync(new AddProductPriceRequest {
  ProductId = "prod_abc123xyz789",
  Label = "Wholesale",
  About = "Preferred rate for repeat buyers",
  Type = "fixed_amount",
  FixedAmount = new AmountParams {
    Currency = Inttegro.Money.Currency.GHS,
    Value = 85000,
  },
});
Responsejson
{
  "price": {
    "id": "pr_abc123xyz789",
    "label": "Wholesale",
    "about": "Preferred rate for repeat buyers",
    "active": true,
    "fixed_amount": {
      "currency": "ghs",
      "value": 85000
    },
    "product_id": "abc123xyz789",
    "created_at": "2026-02-08T23:55:00Z"
  }
}

Update a product POST /products/update

Modify an existing product’s details by providing only the fields you want to change. Any field you omit remains unchanged. Update or create prices through the Prices API; this endpoint rejects inline price data.Only productId is required. A request with no changed fields succeeds without advancing product.updatedAt. type may be sent only when it matches the existing type. name, about, category, and taxCode cannot be cleared once populated; description can be replaced with an empty string.For media changes, send the full media object you want stored. The legacy images array is still accepted and maps to media.gallery; it accepts at most 50 Inttegro file or file-link references. Do not send images and media together. The update response is a reduced product projection and omits active, archived_at, attributes, media, and shipment. Its product.id currently omits the prod_ type prefix. Call Lookup a product when you need the canonical complete representation.

Archived products are immutable and return product_archived.

If another product mutation commits after this request reads the product, the update is rejected with product_mutation_conflict. Fetch the latest product, reapply the intended changes, and retry.

Request attributes

TypeScript SDK requestUpdateProductRequestv15.0.0

Request

POST/products/update
cURLbash
curl https://api.inttegro.com/products/update \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_abc123xyz789",
"description": "Premium everyday comfort",
"category": "apparel"
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.update({
  productId: "prod_abc123xyz789",
  description: "Premium everyday comfort",
  category: "apparel",
})
Gogo
package main

import (
  "context"
  "log"
  "os"

  inttegro "github.com/inttegro/inttegro-sdk-go/v14"
  "github.com/inttegro/inttegro-sdk-go/v14/product"
)

func main() {
  ctx := context.Background()
  client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))

  params := product.UpdateParams{
    ProductID: "prod_abc123xyz789",
    Description: "Premium everyday comfort",
    Category: "apparel",
  }
  result, err := client.Products.Update(ctx, params)
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

import inttegro
from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.update(inttegro.product.UpdateRequest(
  product_id="prod_abc123xyz789",
  description="Premium everyday comfort",
  category="apparel",
))
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->update([
  'product_id' => 'prod_abc123xyz789',
  'description' => 'Premium everyday comfort',
  'category' => 'apparel',
]);
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.update(
  product_id: "prod_abc123xyz789",
  description: "Premium everyday comfort",
  category: "apparel"
)
Javajava
import com.inttegro.Client;
import com.inttegro.products.UpdateProductParams;

public class Example {
  public static void main(String[] args) throws Exception {
    var client = new Client(System.getenv("INTTEGRO_API_KEY"));
    var params = UpdateProductParams.builder()
      .productId("prod_abc123xyz789")
      .description("Premium everyday comfort")
      .category("apparel")
      .build();
    var result = client.products().update(params);
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.UpdateAsync(new UpdateProductRequest {
  ProductId = "prod_abc123xyz789",
  Description = "Premium everyday comfort",
  Category = "apparel",
});
Responsejson
{
  "product": {
    "id": "abc123xyz789",
    "name": "Premium Cotton T-Shirt",
    "type": "physical",
    "description": "Premium everyday comfort",
    "category": "apparel",
    "reference": "SKU-SHIRT-BLUE-M-2024",
    "created_at": "2026-02-08T23:45:00Z",
    "updated_at": "2026-02-09T15:30:00Z"
  }
}

Publish a product POST /products/publish

Set the product’s catalog state by setting active to true. Publishing does not create a checkout URL, choose a price, or authorize payment; create a purchase intent when you need a hosted Buy link.publishedAt is set only on the first publish and remains unchanged after later unpublish and republish cycles. The endpoint returns a conflict when active is already true, and returns product_archived for archived products.

If the product changes concurrently, the endpoint returns product_mutation_conflict. Fetch the latest state before retrying so a stale publish request cannot overwrite newer product data.

Request attributes

TypeScript SDK requestProductActionRequestv15.0.0
  • #productIdstringrequired

    Unique product identifier.

Request

POST/products/publish
cURLbash
curl https://api.inttegro.com/products/publish \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_abc123xyz789"
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.publish({
  productId: "prod_abc123xyz789",
})
Gogo
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.Products.Publish(ctx, "prod_abc123xyz789")
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.publish("prod_abc123xyz789")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->publish("prod_abc123xyz789");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.publish(product_id: "prod_abc123xyz789")
Javajava
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.products().publish("prod_abc123xyz789");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.PublishAsync("prod_abc123xyz789");
Responsejson
{
  "product": {
    "id": "prod_abc123xyz789",
    "name": "Premium Cotton T-Shirt",
    "type": "physical",
    "active": true,
    "category": "apparel",
    "created_at": "2026-02-08T23:45:00Z",
    "published_at": "2026-02-09T16:30:00Z",
    "updated_at": "2026-02-09T16:30:00Z"
  }
}

Unpublish a product POST /products/unpublish

Set active to false while preserving publishedAt. This is reversible: publish the same product again when you are ready to mark it active.

The endpoint returns a conflict when the product is already inactive. Unpublishing does not change attached prices or existing purchase intents, and current ID-based order creation does not use product publication as its price-eligibility check. Deactivate or archive prices and withdraw checkout entry points when you need to stop future sales.

If the product changes concurrently, the endpoint returns product_mutation_conflict. Fetch the latest state before retrying so a stale unpublish request cannot overwrite newer product data.

Request attributes

TypeScript SDK requestProductActionRequestv15.0.0
  • #productIdstringrequired

    Unique product identifier.

Request

POST/products/unpublish
cURLbash
curl https://api.inttegro.com/products/unpublish \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_abc123xyz789"
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.unpublish({
  productId: "prod_abc123xyz789",
})
Gogo
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.Products.Unpublish(ctx, "prod_abc123xyz789")
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.unpublish("prod_abc123xyz789")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->unpublish("prod_abc123xyz789");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.unpublish(product_id: "prod_abc123xyz789")
Javajava
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.products().unpublish("prod_abc123xyz789");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.UnpublishAsync("prod_abc123xyz789");
Responsejson
{
  "product": {
    "id": "prod_abc123xyz789",
    "name": "Premium Cotton T-Shirt",
    "type": "physical",
    "active": false,
    "category": "apparel",
    "created_at": "2026-02-08T23:45:00Z",
    "published_at": "2026-02-09T16:30:00Z",
    "updated_at": "2026-02-09T17:15:00Z"
  }
}

Archive a product POST /products/archive

Mark a product as retired. Archiving sets active to false, sets archivedAt, and advances updatedAt. There is no public unarchive endpoint, and Add a price to a product rejects archived products.

The endpoint returns a conflict when the product is already archived. It does not archive or deactivate prices that already belong to the product. Archived products remain available to historical lookup and existing order snapshots, but product update, publish, unpublish, and add-price mutations are rejected.

If the product changes concurrently, the endpoint returns product_mutation_conflict. Fetch the latest state before retrying; archive never overwrites a newer product mutation.

Request attributes

TypeScript SDK requestProductActionRequestv15.0.0
  • #productIdstringrequired

    Unique product identifier.

Request

POST/products/archive
cURLbash
curl https://api.inttegro.com/products/archive \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_abc123xyz789"
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.archive({
  productId: "prod_abc123xyz789",
})
Gogo
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.Products.Archive(ctx, "prod_abc123xyz789")
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.archive("prod_abc123xyz789")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->archive("prod_abc123xyz789");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.archive(product_id: "prod_abc123xyz789")
Javajava
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.products().archive("prod_abc123xyz789");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.ArchiveAsync("prod_abc123xyz789");
Responsejson
{
  "product": {
    "id": "prod_abc123xyz789",
    "name": "Premium Cotton T-Shirt",
    "type": "physical",
    "active": false,
    "category": "apparel",
    "created_at": "2026-02-08T23:45:00Z",
    "archived_at": "2026-02-09T18:00:00Z",
    "updated_at": "2026-02-09T18:00:00Z"
  }
}

Page through products POST /products/page

Browse every product in your catalog, including published, unpublished, and archived records. Products are sorted by products[].createdAt in descending order—page 1 contains the newest entries and subsequent pages step back in time.

Each response returns the full product object, including all fields: media assets, attributes, dimensions, shipment details, and custom data. pageNumber is required; pageSize defaults to 256 if omitted.

Request attributes

TypeScript SDK requestPageProductsRequestv15.0.0

Response shape

Request

POST/products/page
cURLbash
curl https://api.inttegro.com/products/page \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page_number": 1,
"page_size": 50
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.products.page({
  pageNumber: 1,
  pageSize: 50,
})
Gogo
package main

import (
  "context"
  "log"
  "os"

  inttegro "github.com/inttegro/inttegro-sdk-go/v14"
  "github.com/inttegro/inttegro-sdk-go/v14/product"
)

func main() {
  ctx := context.Background()
  client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))

  params := product.PageParams{
    PageNumber: 1,
    PageSize: 50,
  }
  result, err := client.Products.Page(ctx, params)
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

import inttegro
from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.products.page(inttegro.product.PageRequest(
  page_number=1,
  page_size=50,
))
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->products->page([
  'page_number' => 1,
  'page_size' => 50,
]);
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.products.page(
  page_number: 1,
  page_size: 50
)
Javajava
import com.inttegro.Client;
import com.inttegro.products.PageProductsParams;

public class Example {
  public static void main(String[] args) throws Exception {
    var client = new Client(System.getenv("INTTEGRO_API_KEY"));
    var params = PageProductsParams.builder()
      .pageNumber(1)
      .pageSize(50)
      .build();
    var result = client.products().page(params);
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Products.PageAsync(new PageProductsRequest {
  PageNumber = 1,
  PageSize = 50,
});
Responsejson
{
  "page": {
    "number": 1,
    "size": 2,
    "products": [
      {
        "id": "prod_mK9XzR2qLpT4nW8sVcJ1bHfYuAeD3gN5oI6Ph7Qa",
        "name": "Premium Cotton T-Shirt",
        "type": "physical",
        "active": true,
        "description": "Comfortable everyday wear",
        "category": "clothing",
        "reference": "SKU-SHIRT-BLUE-M",
        "tax_code": "TX-APPAREL",
        "attributes": [
          { "name": "Size",  "value": "Medium" },
          { "name": "Color", "value": "Blue" }
        ],
        "prices": [
          {
            "id": "pr_M4n8Q2w7X5z1C9v6B3k0LpR",
            "active": true,
            "label": "Retail",
            "fixed_amount": {
              "currency": "usd",
              "value": 2999
            }
          },
          {
            "id": "pr_J7s3D1f9H6k2L8m5N4p0QwT",
            "active": false,
            "label": "Wholesale",
            "fixed_amount": {
              "currency": "usd",
              "value": 2799
            }
          }
        ],
        "media": {
          "hero_image": "file_abc123",
          "thumbnail":  "file_xyz789"
        },
        "created_at":   "2026-01-15T09:30:00Z",
        "published_at": "2026-01-15T10:00:00Z",
        "updated_at":   "2026-02-01T14:22:00Z"
      },
      {
        "id": "prod_aB3CdE4FgH5IjK6LmN7OpQ8RsT9UvW0XyZ1AbCd",
        "name": "Annual SaaS Subscription",
        "type": "digital",
        "active": true,
        "description": "Unlimited platform access",
        "category": "software",
        "created_at": "2026-01-10T08:00:00Z",
        "published_at": "2026-01-10T08:05:00Z"
      }
    ]
  }
}

Type to search…

↑↓ navigate↵ selectEsc close