Platform & IdentityStores
Update customer login provider
Saves the merchant's own client id and secret for a social login provider and turns it on or off. An omitted secret keeps the stored one, unless the client id changes.
Path Parameters
provider*string
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.ecomiq.pe/api/v1/stores/settings/customer-login-providers/Andrea Ramos" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "clientId": "app_replace_with_your_client_id", "clientSecret": "replace_with_a_random_secret", "enabled": true }'{ "provider": "Andrea Ramos", "clientId": "app_replace_with_your_client_id", "hasClientSecret": false, "enabled": true, "callbackUrl": "https://erp.example.com/webhooks/ecomiq", "deauthorizeUrl": "https://mi-tienda.ecomiq.app/products/polo-de-algodon"}