packagepage
Start on Launch
GS1 SUNRISE 2027 · TARGET: END OF 2027 402 days to the industry's goal
ON THIS PAGE
ON THIS PAGE

DOCS · 11 MIN · UPDATED 23 NOV 2026

API reference

The routes under /v1, how a key authenticates, the rate limit, the error format and paging, with a link to the OpenAPI document.

Versioning

Every route lives under /v1. The prefix is a promise that a route will not change shape under an integration that is already running. New routes, new optional fields and new problem codes arrive under /v1. A change that would break a running client, such as removing a field or changing a status code, would ship under a new prefix, and /v1 would keep answering as it did.

Cursors are opaque. A client sends back the exact string it was given and never builds or reads one. That is what lets the encoding change without breaking anyone.

Authentication

A request carries an API key as Authorization: Bearer followed by the key. The key holds scopes, and a route that takes a key names the scope it needs. The scopes a key can hold today are read:products, write:products, read:links, write:links, read:analytics, read:recalls, write:recalls, read:webhooks, write:webhooks.

26 routes take a key. Every other route takes the dashboard's signed-in session and the x-packagepage-org header, and the tables below say which is which. The access column reads Session when a key does not work.

Rate limit

A key may make 1000 requests in each 1 hour window. Every response to a key carries RateLimit-Policy and RateLimit. A request over the limit answers 429 with a Retry-After header. A request refused for a missing scope is not counted.

Retrying a create

The routes that create a product, a variant, a batch, a link, a media upload or a recall take an optional id in the body. Send the same id again and the route answers 200 with the row the first request created, and nothing is added. An id that belongs to a row you cannot read answers 409 with the CONFLICT code.

Errors

A refusal is an RFC 9457 problem body with the media type application/problem+json, except the three auth refusals (401, 400 for a missing organisation header, 403 for a non-member), which predate the registry and answer a body holding one error string as application/json. It carries type, title, status, detail and code. The code is the field to match on. Each type is a page that explains the problem, and the document lists the codes each route can answer.

Paging

A list route that pages takes cursor and limit as query parameters. When more rows exist the response carries an X-Next-Cursor header, and the client sends its value back as cursor.

The document

The same routes are in openapi.json. It is OpenAPI 3.1 and it is generated from the routes the service mounts, so it names every one, with the status codes, the headers and the problem codes each can answer.

Request bodies carry their full schema. Response bodies mostly do not. 23 routes name the shape they answer and 50 declare only that the body is a JSON object, so a generated client will hand you those 50 untyped. Naming them is work we still owe. The other 4 routes answer a file and name its media type.

Routes

Orgs

Method and pathWhat it doesAccess
POST /v1/orgsCreates an organisation with the signed-in user as its owner.Session
GET /v1/orgs/{orgId}/membersLists the members of an organisation and their roles.Session
PATCH /v1/orgs/{orgId}/members/{userId}Changes a member's role.Session
DELETE /v1/orgs/{orgId}/members/{userId}Removes a member from the organisation.Session
POST /v1/orgs/{orgId}/transfer-ownerHands ownership of the organisation to another member.Session

Me

Method and pathWhat it doesAccess
GET /v1/me/orgsLists the organisations the signed-in user belongs to.Session

Invites

Method and pathWhat it doesAccess
POST /v1/invites/acceptAccepts an invitation and adds the signed-in user to its organisation.Session
GET /v1/invitesLists the invitations an organisation has sent.Session
POST /v1/invitesInvites a person to the organisation by email.Session
POST /v1/invites/{inviteId}/resendSends an open invitation again.Session
DELETE /v1/invites/{inviteId}Revokes an open invitation.Session

ApiKeys

Method and pathWhat it doesAccess
GET /v1/api-keysLists the organisation's API keys without their secrets.Session
POST /v1/api-keysMints an API key and returns its secret once.Session
DELETE /v1/api-keys/{keyId}Revokes an API key.Session

Webhooks

Method and pathWhat it doesAccess
GET /v1/webhooksLists the organisation's webhook endpoints without their secrets.Key, read:webhooks
POST /v1/webhooksRegisters a webhook endpoint and returns its signing secret once.Key, write:webhooks
POST /v1/webhooks/{id}/rotate-secretReplaces a webhook endpoint's signing secret and returns the new one once.Key, write:webhooks
DELETE /v1/webhooks/{id}Deletes a webhook endpoint and its delivery history.Key, write:webhooks

CompanyPrefixes

Method and pathWhat it doesAccess
GET /v1/company-prefixesLists the company prefixes the organisation has claimed.Session
POST /v1/company-prefixesClaims a GS1 company prefix for the organisation.Session
GET /v1/company-prefixes/verification-statesLists the states a company prefix verification can be in.Session
POST /v1/company-prefixes/{prefixId}/verifySubmits the evidence that a company prefix belongs to the organisation.Session

Products

Method and pathWhat it doesAccess
GET /v1/productsLists products with filters, sorting and cursor paging.Key, read:products
GET /v1/products/{id}Reads one product.Key, read:products
POST /v1/productsCreates a product in draft.Key, write:products
POST /v1/products/{id}/publishPublishes a draft product and claims its GTIN.Key, write:products
POST /v1/products/{id}/retireArchives a product, or tombstones it when the body says so.Key, write:products
GET /v1/products/{productId}/variantsLists a product's variants.Session
POST /v1/products/{productId}/variantsAdds a variant to a product.Key, write:products
GET /v1/products/{productId}/batchesLists a product's batches.Session
POST /v1/products/{productId}/batchesAdds a batch to a product.Key, write:products
GET /v1/products/{productId}/linksLists the links on a product.Key, read:links
GET /v1/products/{productId}/linksetPreviews the linkset a scan of this product would receive.Key, read:links
POST /v1/products/{productId}/linksAdds a link to a product, with warnings for anything suspect.Key, write:links
PATCH /v1/products/{productId}/links/{linkId}Edits a link on a product.Key, write:links
POST /v1/products/{productId}/links/{linkId}/deactivateTurns a link off without deleting it.Key, write:links
POST /v1/products/{productId}/links/{linkId}/activateTurns a deactivated link back on.Key, write:links
DELETE /v1/products/{productId}/links/{linkId}Deletes a link from a product.Key, write:links
POST /v1/products/{productId}/links/reorderSets the order of a product's links.Key, write:links
POST /v1/products/{productId}/mediaStarts an upload for a product image and returns a presigned PUT.Key, write:products

Media

Method and pathWhat it doesAccess
GET /v1/mediaLists media records.Session
POST /v1/mediaRecords a media file that is already in storage. This route takes a session. A key uploads through the media route under a product.Session

Imports

Method and pathWhat it doesAccess
GET /v1/importsLists catalogue imports, newest first.Session
GET /v1/imports/{id}Reads one import with its mapping and counts.Session
GET /v1/imports/{id}/rowsLists the rows of an import with each row's verdict.Session
GET /v1/imports/{id}/reportDownloads an import's row report as CSV.Session
POST /v1/importsStarts an import and returns a presigned PUT for the file.Session
POST /v1/imports/{id}/uploadedTells the import its file has arrived, so parsing can begin.Session
POST /v1/imports/{id}/mappingConfirms how the file's columns map to product fields.Session
POST /v1/imports/{id}/applyApplies a reviewed import to the catalogue.Session
POST /v1/imports/{id}/cancelCancels an import that has not been applied.Session

LinkTypes

Method and pathWhat it doesAccess
GET /v1/link-typesLists the GS1 link types a link can use.Session

Recalls

Method and pathWhat it doesAccess
GET /v1/recallsLists the organisation's recall notices.Key, read:recalls
GET /v1/recalls/{recallId}Reads one recall notice with its scope and history.Key, read:recalls
GET /v1/recalls/{recallId}/evidenceDownloads a recall's evidence record as a PDF, or as CSV with format=csv.Session
POST /v1/recallsPublishes a recall notice on the products it names.Key, write:recalls
PATCH /v1/recalls/{recallId}/scopeWidens the scope of an active recall.Key, write:recalls
POST /v1/recalls/{recallId}/liftLifts an active recall and restores the links it displaced.Key, write:recalls

Artwork

Method and pathWhat it doesAccess
POST /v1/artworkRenders barcode artwork for a product and returns the file.Session
POST /v1/artwork/placement-sheetRenders the dual-marking placement sheet for a product.Session
POST /v1/artwork/batchesChecks many products against the artwork gates, and starts a zip job on request.Session
GET /v1/artwork/batches/{id}Reads the progress of an artwork zip job.Session

AuditLog

Method and pathWhat it doesAccess
GET /v1/audit-logLists the organisation's audit log, newest first, with cursor paging.Session

Domains

Method and pathWhat it doesAccess
GET /v1/domainsLists the organisation's custom domains with their DNS instructions.Session
POST /v1/domainsAdds a custom domain.Session
DELETE /v1/domains/{domainId}Removes a custom domain and re-emits the entries that used it.Session
POST /v1/domains/{domainId}/recheckAsks DNS again whether a custom domain is set up.Session

Subscription

Method and pathWhat it doesAccess
GET /v1/subscriptionReads the organisation's plan and billing state.Session
POST /v1/subscription/checkoutStarts a checkout session for a paid plan.Session
GET /v1/subscription/previewPreviews what a plan switch would cost.Session
POST /v1/subscription/switchSwitches the organisation to another plan.Session
POST /v1/subscription/manageOpens the billing portal for the organisation.Session
GET /v1/subscription/contactReads the billing contact.Session
PUT /v1/subscription/contactSets the billing contact.Session

Usage

Method and pathWhat it doesAccess
GET /v1/usageReads the organisation's usage against its plan limits.Session

Analytics

Method and pathWhat it doesAccess
GET /v1/analytics/scansReads scan counts over a period.Key, read:analytics

Billing

Method and pathWhat it doesAccess
POST /v1/billing/webhooks/stripeReceives Stripe's signed billing events.Stripe signature

Sources

Every factual claim about GS1 above is from one of these. Where the research did not support a claim, the claim was deleted rather than softened.

Run one of your own products through it

The fastest way to understand any of this is to put one of your own SKUs through it and look at the print files.

Start on Launch See pricing

Read next

DOCS · 4 MIN

Our GS1 resolver conformance run

A dated run of GS1's public resolver conformance test suite against a live packagepage resolver. The result, the raw output, the one warning it returned, and the thing the suite does not test.

NOTES · 3 MIN

Why we will not let you write custom CSS on your product page

Consumer product pages are themed with typed tokens rather than a stylesheet. The reason is the allergen block, and it is the one product decision we are not willing to negotiate.