Addresses

This module contains all possibilities to handle addressdata for clients and customers

Addresses - Create new addresspost

Create a new address for a special client

Url

https://api.vinou.de/service/addresses/add

Parameter

Field Type Description
parent String

type of account to append the address (required).

Default value: clients

clients_id Integer

id of account to append the address (required).

address Array

array of address properties (required).

{
	"token": "9a9a9a",
	"authid": "8b8b8b",
	"parent": "clients",
	"clients_id": 123,
	"address": {
		"name": "Testname",
		"company": "Testcompany Inc.",
		"address": "Teststreet",
		"zip": "12345",
		"city": "Testcity",
		"country": "Germany",
		"taxid": "DE123456789",
		"mail": "test@domain.de",
		"phone": "+49123456789"
	}
}
Addresses - Delete single addresspost

Delete a single address by given id. Be sure that you delete only things which you want to delete.

Url

https://api.vinou.de/service/addresses/delete

Parameter

Field Type Description
id Integer

Unique ID of address (required).

{
  "token": "9a9a9a",
  "authid": "8b8b8b",
  "id": 123
}
Addresses - Edit existing addresspost

Edit an existing address. Only data to update could be send

Url

https://api.vinou.de/service/addresses/edit

Parameter

Field Type Description
id Integer

of adress to udate (required).

address Array

array of changed address properties (required).

{
	"token": "9a9a9a",
	"authid": "8b8b8b",
	"id": 123,
	"address": {
		"name": "New Name",
		"zip": "54321",
		"country": "France"
	}
}
Addresses - Get single addresspost

Access data from one single address by giving one specific id. The address could be a client address or a separated address of the winers

Url

https://api.vinou.de/service/addresses/get

Parameter

Field Type Description
id Integer

Unique ID of address (required).

{
  "token": "9a9a9a",
  "authid": "8b8b8b",
  "id": 123
}
Addresses - Get all client addressespost

Get all addresses which are registered in one given client account, for example delivery or billing addresses

Url

https://api.vinou.de/service/addresses/getByClient

Parameter

Field Type Description
id Integer

Unique ID of client (required).

{
  "token": "9a9a9a",
  "authid": "8b8b8b",
  "id": 123
}
Addresses - Get all customer addressespost

Get all addresses which are registered in the Vinou account of the winery

Url

https://api.vinou.de/service/addresses/getByCustomer

Parameter

No parameter available for this function

{
  "token": "9a9a9a",
  "authid": "8b8b8b"
}