Saltar al contenido principal
GET
/
customers
/
{customerId}
Obtener
curl --request GET \
  --url https://sandbox.api.riqra.com/customers/{customerId} \
  --header 'api-key: <api-key>'
{
  "data": {
    "id": 123,
    "erpCode": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "priceListId": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "documents": [
      {
        "type": "<string>",
        "number": "<string>",
        "fiscalAddress": "<string>",
        "fiscalName": "<string>",
        "email": "<string>",
        "isDefault": true,
        "forTaxes": true
      }
    ],
    "loginCode": "<string>",
    "birthdate": "<string>"
  }
}

Authorizations

api-key
string
header
required

Todas las llamadas al API tienen que contener este header junto a la clave para poder autenticar y autorizar al cliente.

Path Parameters

customerId
integer
required

ID del cliente.

Response

OK

data
object
required