Entrar

Resolver refs de Seller en lote

POST https://{organization}.myguper.com/api/catalog/{interface}/seller/_resolve

Lookup en lote: pasá un array JSON de refIds, recibís un mapa refId -> entityId | null. Hasta 500 refIds por request. Optimizado para el hot path de procesamiento de pedidos (un SQL con IN en vez de N round-trips).

Try-it values populated from environment ACME (Demo)


Autenticación

Token

Send your user token in the x-guper-authorization header.

Encabezados

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Cuerpo de la petición

Content-Type: application/json

{
    "(array of strings)": "[\"VTEX-NIKE-001\", \"VTEX-ADIDAS-001\", \"FAKE-DOES-NOT-EXIST\"]"
}

Respuestas

{"VTEX-NIKE-001":42,"VTEX-ADIDAS-001":89,"FAKE-DOES-NOT-EXIST":null}
Copied to clipboard