- Update a Supplier
Get document financial transactions
List Location payment methods
Get location accounts
Get transactions
Get Transactions by Visit or Appointment ID
Create a Financial Transaction
Getting a financial transaction
Financial Transaction Update
Deleting a transaction
List Location payment items
List Location Suppliers
Create a Supplier
Get a Supplier
Delete a Supplier
Update a Supplier
Updates a Supplier (counterparty) of the Location. Send only the fields to change: omitted fields keep their current values. The Business User needs Finances access in the Location; otherwise the request returns 403.
Security
BearerPartnerUser
Legal form:
0- Legal entity1- Individual entrepreneur2- Individual
Enum:012
Example:0
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/references/suppliers/{location_id}/{supplier_id}
- Productionhttps://api.alteg.io/api/v1/references/suppliers/{location_id}/{supplier_id}
curl -i -X PUT \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/references/suppliers/4564/4043 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"phone": "+13155550199",
"comment": "Delivers on Tuesdays"
}'OK
A Supplier (counterparty) of the Location. Pass its id as supplier_id in financial transactions and in inventory operations such as a product receipt.
Example:
{ "id": 4043, "company_id": 4564, "type_id": 0, "type": { "id": 0, "title": "Legal entity" }, "title": "Bloom Beauty Supply", "inn": "1234567890", "kpp": "123401001", "phone": "+13155550142", "email": "orders@example.com", "contact": "Jordan Lee, sales manager", "comment": "Delivers on Tuesdays", "address": "100 Main Street, Springfield" }
Response
{ "success": true, "data": { "id": 4043, "company_id": 4564, "type_id": 0, "type": { … }, "title": "Bloom Beauty Supply", "inn": "1234567890", "kpp": "123401001", "phone": "+13155550199", "email": "orders@example.com", "contact": "Jordan Lee, sales manager", "comment": "Delivers on Tuesdays", "address": "100 Main Street, Springfield" }, "meta": [] }