Skip to content

One product

GET
/products/{identifier}
curl --request GET \
--url https://app.currentpim.se/api/v1/products/example \
--header 'Authorization: Bearer <token>'

Needs products:read and products.view. Products outside the account’s scopes answer 404.

identifier
required
string

The product’s identifier (SKU). It may hold slashes.

The product as its latest version’s snapshot.

Media typeapplication/json
object
data
required

A product as its version’s snapshot (what webhooks send as data.product), plus id, version numbers and timestamps. Cells outside the account’s scopes are left out.

object
id
string
identifier
string
family
string | null
enabled
boolean
is_bundle

Left out unless true. Its components are in associations.bundle_components, each with data.quantity.

boolean
availability

Channel code => where and when the product is sold; left out when every channel sells it every day.

object
key
additional properties
object
enabled

False: the channel doesn’t sell the product.

boolean
from

First day it is sold.

string format: date
until

Last day it is sold.

string format: date
variant_structure
string | null
parent

A variant’s model, by identifier.

string | null
parent_id
string | null
variant_level

0 for products outside trees and root models.

integer
values

Attribute code → channel code or _ → locale code or _ → value, in the stored shape (see docs/api.md, Product values). On writes a value of null clears the cell.

object
key
additional properties
object
key
additional properties
object
key
additional properties
categories
Array<string>
associations

Association type code → links in order.

object
key
additional properties
Array<object>
object
target
required

The linked product’s identifier.

string
target_id

The linked product’s id (reads only).

string
data

The type’s custom link fields.

object
key
additional properties
version
integer
published_version
integer | null
created_at
string | null format: date-time
updated_at
string | null format: date-time

Example generated

{
"data": {
"id": "example",
"identifier": "example",
"family": "example",
"enabled": true,
"is_bundle": true,
"availability": {
"additionalProperty": {
"enabled": true,
"from": "2026-04-15",
"until": "2026-04-15"
}
},
"variant_structure": "example",
"parent": "example",
"parent_id": "example",
"variant_level": 1,
"values": {
"additionalProperty": {
"additionalProperty": {
"additionalProperty": "example"
}
}
},
"categories": [
"example"
],
"associations": {
"additionalProperty": [
{
"target": "example",
"target_id": "example",
"data": {
"additionalProperty": "example"
}
}
]
},
"version": 1,
"published_version": 1,
"created_at": "2026-04-15T12:00:00Z",
"updated_at": "2026-04-15T12:00:00Z"
}
}

No valid token (missing, revoked, expired, or the account is deactivated).

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}

The token lacks the ability or the account the permission.

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}

No product with this identifier the account may see.

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}

More than the allowed requests a minute for this token; Retry-After says when to try again.

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}