Saltar al contenido

Configurar acceso del cliente

Crea o actualiza el cliente OAuth del origen y devuelve el modo de acceso, CAPTCHA público y datos OAuth.

POST/v1/customer-auth/config
Sin token

Parámetros de consulta

storeId*string
origin*string

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://auth.ecomiq.pe/v1/customer-auth/config?storeId=7204558912004327977&origin=Andrea+Ramos"
{  "authority": "Andrea Ramos",  "clientId": "app_replace_with_your_client_id",  "authorizationEndpoint": "Andrea Ramos",  "tokenEndpoint": "replace_with_the_issued_token",  "revocationEndpoint": "Andrea Ramos",  "scope": "AllProducts",  "redirectUri": "https://erp.example.com/webhooks/ecomiq",  "loginMode": "hosted"}