WAPRO API v2
customers.get
Szczegóły kontrahenta.
Nagłówki
HTTP
Authorization: Bearer rvn_api_TUTAJ_WPROWADZ_KLUCZ Content-Type: application/json
Request
json
{
"method": "customers.get",
"customer_id": 209
}
Przykładowa odpowiedź
json
{
"ok": true,
"data": {
"customer_id": 209,
"name": "Przykładowa nazwa",
"identifier_type": "NIP",
"identifier_value": "8567346215",
"nip": "8567346215",
"pesel": "44051401458",
"address": "przykład",
"default_delivery_method_id": true,
"default_delivery_place_id": true
},
"trace_id": "api_demo_001"
}
Najważniejsze pola odpowiedzi
data.customer_iddata.namedata.identifier_typedata.identifier_valuedata.nipdata.peseldata.addressdata.default_delivery_method_iddata.default_delivery_place_id