GET /api/sales/partners/{partner_id}/address/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
OK
{ "id": "text", "partner_id": "text", "name": "text", "address_type": "text", "street": "text", "number": "text", "complement": "text", "contact_number": "text", "contact_name": "text", "neighborhood": "text", "state": "text", "country": "text", "city": "text", "postal_code": "text", "main_address": true }
DELETE /api/sales/partners/{partner_id}/address/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
Partner removed successfully
{}
""
0
25
mainAddress
desc
GET /api/sales/partners/{partner_id}/address HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "partner_id": "text", "name": "text", "address_type": "text", "street": "text", "number": "text", "complement": "text", "contact_number": "text", "contact_name": "text", "neighborhood": "text", "state": "text", "country": "text", "city": "text", "postal_code": "text", "main_address": true } ] }
POST /api/sales/partners/{partner_id}/address HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 256 { "id": "text", "name": "text", "address_type": "text", "street": "text", "number": "text", "complement": "text", "contact_number": "text", "contact_name": "text", "neighborhood": "text", "state": "text", "country": "text", "city": "text", "postal_code": "text", "main_address": true }
PartnerAddress created successfully
PUT /api/sales/partners/{partner_id}/address HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 256 { "id": "text", "name": "text", "address_type": "text", "street": "text", "number": "text", "complement": "text", "contact_number": "text", "contact_name": "text", "neighborhood": "text", "state": "text", "country": "text", "city": "text", "postal_code": "text", "main_address": true }
PartnerAddress updated successfully