Produtos

Lojas VTEX disponíveis no dashboard de produtos

GET
/v1/products/integrations

Lista as lojas da organização com o identificador que os demais endpoints de Produtos esperam em integrationId. Use o sourceIntegrationId de cada loja — nunca a App Key da VTEX, que pode ser trocada e pode estar ligada a mais de uma loja. As lojas vêm ordenadas da venda mais recente para a mais antiga.

Autorização

ClientIdAuthClientSecretAuth
headerx-client-id<token>

Client ID

headerx-client-secret<token>

Client secret

Parâmetros de query

organizationId*string
Formatouuid
gtmMotionId?string

GTM motion of the organization (UUID), as listed by GET /v1/gtm-motions. Optional: without it, the response covers the organization's default GTM motion. The default motion is answered with the organization's data, the same numbers as when the parameter is omitted. Another GTM motion of the organization only sees its own stores (V4MOS-2707): a store belongs to a motion whole, so GET /v1/products/integrations lists only the motion's stores (none for a motion without a store) and a route that reads one store answers exactly as for the organization when integrationId is a store of the motion, and 404 GTM_MOTION_STORE_NOT_IN_MOTION otherwise. Not a UUID: 400. Not a live GTM motion of the organization: 403 GTM_MOTION_NOT_IN_ORGANIZATION.

Formatouuid

Corpo da resposta

Lojas da organização, da venda mais recente para a mais antiga

application/json
  1. response
data*array<>
curl -X GET "https://example.com/v1/products/integrations?organizationId=497f6eca-6276-4993-bfeb-53cbbbba6f08&gtmMotionId=019a5b2e-7c4d-7abc-8def-0123456789ab"
{  "data": [    {      "sourceIntegrationId": "string",      "integrationId": "string",      "integrationName": "string",      "lastSaleDate": "2019-08-24T14:15:22Z"    }  ]}