Skip to main content
Programmatic equivalent of the dashboard’s products/<gtin>/app-links/ page.

When to use

  • A product works with a companion app (a smart device, a fitness tracker, a connected appliance) and a shopper who scans it should be offered the app for their platform.
  • An app moved to a new listing, gained a platform, or now needs a newer version.

Auth

X-API-Key header or OAuth token. Writing takes membership of the product’s organization with the contribute role (Editor or Manager). A read-only key is refused with 403; a product or link another organization owns answers 404, so the API never confirms it exists.

Flow

  • List — every app link of the product in gtin, ordered by priority, then platform and name.
  • Create — the body is gtin, platform, name, url, and optionally description, minimum_version, is_required and priority; fields are listed in the OpenAPI document at /products/api/v1/openapi.json. The url must start with https://.
  • Update — PATCH with only the fields you are changing, addressed by the link’s id.
  • Delete — removes the link permanently.
  • Read back — every create and update returns the saved link; list again to confirm.
Returns 403 for a read-only key, 404 for a product or link the caller cannot see, and 422 for an invalid value, such as an address that is not https://.

Notes

The fields a brand writes on a link are defined once on the model (AppLink.BRAND_EDITABLE_FIELDS); both API schemas are pinned to that set. The dashboard form edits a named subset of it (platform, name, URL and description).