Channel identities

Link your app's own IDs to the store's products and variants.

Channel identities link your app's own IDs to the store's products and variants. They are for any installed app whose release declares identities: a sales channel that sends products to a marketplace or ad platform, or an app that keeps products in sync from elsewhere, such as a dropshipping supplier. Only that app's token can use these endpoints.

Your app release declares each identity: its key, whether it belongs to products or variants, and the sources the merchant may choose from. Your app then picks a source for each identity, for the whole installation or for one catalog context, and reads the values with Resolve.

Generated: a code Tringify derives from the binding and the product or variant ID; it never changes. Canonical ID: the Tringify product or variant ID. SKU and Metafield: read from the merchant's catalog, and follow it when the merchant edits the value. App-assigned: your app sets each value. A source never falls back to another one, and a value in use is only replaced when your app asks for it with Rekey.

Everything is scoped to your app's installation in the token's store; no request names a store, app or installation.

Endpoints#

Get identity contract

GET read_products

Get the identities your installed app release declares.

Returns the identities your app's installed release declares, each with the sources the merchant may pick for it. Channel identities link your app's own IDs to the store's products and variants, and stay the same when the merchant edits a product, its SKU included. When the merchant deletes a product or variant, its identities are deleted with it and your app receives products/delete or variants/delete; those values then name nothing, and the next product or variant your app creates or links with one of them takes it. Orders keep their own copy of what was bought, so they never need a deleted product's identity. Any installed app whose release declares identities can use these endpoints: a sales channel that publishes products, or an app that keeps products in sync from elsewhere, such as a dropshipping supplier. sales_channel_id is null for an app that is not a sales channel. source_labels and reason_labels are English names for sources and gap reasons, to show merchants.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List catalog contexts

GET read_products

List your installation's catalog contexts.

A catalog context is a part of the catalog your app keeps apart, such as one provider account or one catalog. Tringify stores it for your installation and never reads its metadata. A binding can apply to the whole installation or to one context.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Create a catalog context

POST write_products

Create a catalog context for your installation.

key is a stable name your app uses for the context: lowercase letters, digits and underscores, starting with a letter, up to 100 characters. label is what merchants see, up to 150 characters. metadata is any JSON object your app wants to keep with it.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
key required string

Stable snake_case context key.

Example: merchant_center
label required string

Name merchants see.

Example: Google Merchant Center
metadata object

Any JSON object your app keeps with the context.

Example: {"account_id":"123456"}

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object.

  • 400 CHANNEL_IDENTITY_CONTEXT_INVALID

    key or label is empty or too long, or key uses other characters.

  • 409 CHANNEL_IDENTITY_CONTEXT_EXISTS

    Your installation already has a catalog context with this key.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Delete a catalog context

DELETE write_products

Delete a catalog context no binding uses.

A context that an identity binding or a feed unit still uses cannot be deleted; delete those feed units first. A binding keeps its context for as long as your app is installed.

Path parameters

Name Type Description
id required uuid

Catalog context ID.

Example: fca4ce80-d62c-4c56-a8fb-4eedbd4aa91c

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 INVALID_INPUT

    id is not a UUID.

  • 404 CHANNEL_IDENTITY_CONTEXT_MISSING

    No catalog context with this ID belongs to your installation.

  • 409 CHANNEL_IDENTITY_CONTEXT_IN_USE

    An identity binding or a feed unit uses the context.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The request body has a property; this endpoint takes no body. Send no body or an empty object {}.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List identity bindings

GET read_products

List the sources chosen for your identities.

A binding chooses the source of one declared identity, for the whole installation or inside one catalog context. rekey_policy is explicit when a value can be replaced with Rekey, and forbidden for generated and canonical IDs.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Configure an identity binding

PUT write_products

Choose the source of a declared identity.

Sets which source a declared identity reads, for the whole installation or, with catalog_context_id, inside one context. The source must be one the declaration allows. generated gives each product or variant a code Tringify derives from the binding and its ID, such as ci_3f2a9c…; it never changes. canonical_id uses the Tringify product or variant ID. sku and metafield read the merchant's catalog: when the merchant changes that value, the identity changes with it in the same save, and the old value is kept as history. app_assigned means your app supplies each value with Assign identity values. Resolve the current value before you send a product, and compare it with the one your app stored. A binding can change its source only while it has no saved identities; the first Resolve, Assign or Rekey saves them, and from then on the binding keeps its source, because the channel already knows those values. To use another source, bind the identity in another catalog context.

Path parameters

Name Type Description
declarationKey required string

key of a declaration in Get identity contract.

Example: item_id

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
catalog_context_id uuid

Catalog context ID; omit for the whole installation.

Example: 140d86ca-85a7-4b12-95f2-c4db5f694ec3
source required string

One of the declaration's allowed_sources: generated, canonical_id, sku, metafield or app_assigned.

Example: sku
metafield_definition_id uuid

Required with source metafield: a definition from List eligible metafield sources.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object.

  • 400 INVALID_INPUT

    catalog_context_id or metafield_definition_id is not a UUID; details.field names it.

  • 404 CHANNEL_IDENTITY_DECLARATION_MISSING

    Your installed release declares no identity with this key.

  • 400 CHANNEL_IDENTITY_SOURCE_NOT_ALLOWED

    The declaration does not allow this source.

  • 400 CHANNEL_IDENTITY_DEFINITION_INVALID

    metafield_definition_id is missing, or is not an eligible definition (see List eligible metafield sources).

  • 404 CHANNEL_IDENTITY_CONTEXT_MISSING

    No catalog context with this ID belongs to your installation.

  • 409 CHANNEL_IDENTITY_SOURCE_LOCKED

    The binding already has saved identities, so its source or metafield cannot change.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List eligible metafield sources

GET read_products

List the metafields an identity can read.

Returns the store's metafield definitions that can be an identity source for products or variants: text (string) definitions that are not translatable, so every language shares one value.

Query parameters

Name Type Description
owner_type required string

product or variant.

Allowed values
productvariant
page integer

Page number; default 1.

limit integer

Page size from 1 to 100; default 20.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 CHANNEL_IDENTITY_OWNER_INVALID

    owner_type is not product or variant.

  • 400 INVALID_INPUT

    page or limit is out of range; details.field names it.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Assign identity values

PUT write_products

Set your app's own values on an app_assigned binding.

Sets up to 200 product or variant values in one transaction: all are saved or none. A value already assigned to another product or variant in the binding is refused, and an owner's existing value is never replaced here; use Rekey for that. Values hold at most 255 characters. The response lists each owner's value in request order.

Path parameters

Name Type Description
id required uuid

Binding ID.

Example: fca4ce80-d62c-4c56-a8fb-4eedbd4aa91c

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
values required array<object>

1 to 200 rows of owner_id (product or variant ID, as the binding declares) and value.

Example: [{"owner_id":326,"value":"g_123"}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object.

  • 400 INVALID_INPUT

    id is not a UUID. values is empty, has more than 200 rows, or a row has no positive owner_id.

  • 404 CHANNEL_IDENTITY_BINDING_MISSING

    No binding with this ID belongs to your installation.

  • 400 CHANNEL_IDENTITY_SOURCE_MISMATCH

    The binding's source is not app_assigned.

  • 400 CHANNEL_IDENTITY_VALUE_REQUIRED

    A value is empty.

  • 400 CHANNEL_IDENTITY_VALUE_TOO_LONG

    A value is longer than 255 characters.

  • 404 CHANNEL_IDENTITY_RESOURCE_MISSING

    An owner is not a product or variant of this store, of the binding's owner type.

  • 409 CHANNEL_IDENTITY_VALUE_CONFLICT

    A value belongs to another product or variant in the binding.

  • 409 CHANNEL_IDENTITY_REKEY_REQUIRED

    An owner already has a different value; replace it with Rekey.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Resolve identity values

POST write_products

Get the current identity of products or variants.

Returns the identity of up to 200 products or variants from the binding's source, in request order. status is resolved with the value, or missing when the source has no value or the product or variant has been deleted. A generated ID, or the first value read from a SKU or metafield, is saved the first time it is resolved, which is why this needs write_products.

Path parameters

Name Type Description
id required uuid

Binding ID.

Example: fca4ce80-d62c-4c56-a8fb-4eedbd4aa91c

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
owner_ids required array<integer>

1 to 200 product or variant IDs, as the binding declares.

Example: [326,331]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object.

  • 400 INVALID_INPUT

    id is not a UUID. owner_ids is empty, has more than 200 IDs, or holds an ID that is not positive.

  • 404 CHANNEL_IDENTITY_BINDING_MISSING

    No binding with this ID belongs to your installation.

  • 400 CHANNEL_IDENTITY_VALUE_TOO_LONG

    A source value is longer than 255 characters.

  • 409 CHANNEL_IDENTITY_REKEY_REQUIRED

    A saved identity differs from the current SKU or metafield value; replace it with Rekey.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Look up identity values

POST read_products

Find the products or variants that hold your IDs.

The reverse of Resolve: for up to 200 values, in request order, status is resolved with the owner_id that holds the value in the binding, or missing (no owner_id), also when that product or variant has been deleted. Use it to find the store's record for an ID your app knows, for example after a reinstall. It only reads.

Path parameters

Name Type Description
id required uuid

Binding ID.

Example: fca4ce80-d62c-4c56-a8fb-4eedbd4aa91c

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
values required array<string>

1 to 200 identity values.

Example: ["FS-012","FS-013"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object.

  • 400 INVALID_INPUT

    id is not a UUID. values is empty or has more than 200 values.

  • 404 CHANNEL_IDENTITY_BINDING_MISSING

    No binding with this ID belongs to your installation.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Rekey an identity value

POST write_products

Replace one product's or variant's identity on purpose.

Replaces the identity of one product or variant in one step and keeps the old value as history. For an app_assigned binding send the new value; for a sku or metafield binding the current SKU or metafield value is used and value is ignored. Generated and canonical IDs never change and cannot be rekeyed.

Path parameters

Name Type Description
id required uuid

Binding ID.

Example: fca4ce80-d62c-4c56-a8fb-4eedbd4aa91c

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
owner_id required integer

Product or variant ID.

Example: 326
value string

New value; required for app_assigned, ignored for sku and metafield.

Example: g_124

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object.

  • 400 INVALID_INPUT

    id is not a UUID. owner_id is not positive.

  • 404 CHANNEL_IDENTITY_BINDING_MISSING

    No binding with this ID belongs to your installation.

  • 409 CHANNEL_IDENTITY_REKEY_FORBIDDEN

    The binding's source is generated or canonical_id.

  • 400 CHANNEL_IDENTITY_VALUE_REQUIRED

    An app_assigned rekey has no value, or the SKU or metafield is empty.

  • 400 CHANNEL_IDENTITY_VALUE_TOO_LONG

    The new value is longer than 255 characters.

  • 404 CHANNEL_IDENTITY_RESOURCE_MISSING

    owner_id is not a product or variant of this store, of the binding's owner type.

  • 409 CHANNEL_IDENTITY_VALUE_CONFLICT

    Another product or variant in the binding has the new value.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Rekey identity values from source

POST write_products

Replace up to 200 identities with their current metafield values.

For a metafield binding only: replaces the identity of up to 200 products or variants with their current metafield values, all or none, keeping the old values as history. You cannot send replacement values. For other sources use Rekey.

Path parameters

Name Type Description
id required uuid

Binding ID.

Example: fca4ce80-d62c-4c56-a8fb-4eedbd4aa91c

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
owner_ids required array<integer>

1 to 200 distinct product or variant IDs.

Example: [326,331]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not a JSON object.

  • 400 INVALID_INPUT

    id is not a UUID. owner_ids is empty, has more than 200 IDs, repeats an ID, or holds an ID that is not positive.

  • 404 CHANNEL_IDENTITY_BINDING_MISSING

    No binding with this ID belongs to your installation.

  • 409 CHANNEL_IDENTITY_REKEY_FORBIDDEN

    The binding's source is generated or canonical_id.

  • 400 CHANNEL_IDENTITY_SOURCE_MISMATCH

    The binding's source is not metafield.

  • 400 CHANNEL_IDENTITY_VALUE_REQUIRED

    A product or variant has no value in the metafield.

  • 404 CHANNEL_IDENTITY_RESOURCE_MISSING

    An ID is not a product or variant of this store, of the binding's owner type.

  • 409 CHANNEL_IDENTITY_VALUE_CONFLICT

    Two of them, or one of them and another product or variant, have the same value.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get identity diagnostics

GET read_products

See how many products or variants each identity covers.

Returns one row per binding, with its binding_id and, for a binding inside a catalog context, catalog_context_id, then one row for each declared identity that has no binding at all. Each row has the merchant-facing label, whether the identity is required and configured, the chosen source_strategy, and counts: total products or variants in scope (variants for a variant identity; simple products for a product catalog_item; variable products for a catalog_group), resolved, missing (the source has no value) and conflicts (a value longer than 255 characters, or one that another product or variant also has). Treat a required row that is not configured as a setup step the merchant must finish before your app sends products. The counts read the whole catalog each time, so call it for a setup or status screen, not before every sync.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List identity gaps

GET read_products

List the products or variants a binding cannot identify.

Lists, in ID order, the products or variants in the binding's scope whose identity cannot be sent: the source has no value (missing), the value is longer than 255 characters (too_long), or another product or variant in the scope has the same value (duplicate). The counts in Get identity diagnostics come from the same data, so the two agree. Show the list to merchants so they can fill in or correct the source, such as the metafield the binding reads. Pass next_cursor as cursor for the next page; it is empty on the last page. Generated, canonical, SKU and app-assigned values never repeat, so only a metafield binding can list duplicate; with a metafield binding, every page checks the whole catalog for repeated values.

Path parameters

Name Type Description
id required uuid

Binding ID.

Example: fca4ce80-d62c-4c56-a8fb-4eedbd4aa91c

Query parameters

Name Type Description
reason string

Comma-separated reasons to list: missing, too_long, duplicate. Default: all three.

Example: missing,duplicate
product_status string

Only products with this status.

Allowed values
activedraftarchivedscheduled
search string

Matches the product title, variant title or SKU; up to 200 characters.

Example: die-cut
cursor string

next_cursor from the previous page.

limit integer

Page size from 1 to 100; default 50.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 CHANNEL_IDENTITY_APP_TOKEN_REQUIRED

    The token is not an installed app's token.

  • 404 CHANNEL_IDENTITY_INSTALLATION_MISSING

    Your app is not installed and ready in this store.

  • 400 INVALID_INPUT

    id is not a UUID. A query parameter is not valid; details.field names it.

  • 404 CHANNEL_IDENTITY_BINDING_MISSING

    No binding with this ID belongs to your installation.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.