Ir al contenido

Partners

Business partners — suppliers and customers used in Stock In and Stock Out transactions.

Partner — a supplier or customer used as the counterparty on Stock In and Stock Out transactions.

idintegerminimum 0, maximum 2147483647obligatorio

Partner id.

typenumberobligatorio

Partner classification. 0 = supplier (used in Stock In transactions), 1 = customer (used in Stock Out transactions).

Valores posibles01

namestringobligatorio

Partner display name.

phonestringobligatorio

Phone number. Empty string when not set.

emailstringobligatorio

Email address. Empty string when not set.

addressstringobligatorio

Postal address. Empty string when not set.

memostringobligatorio

Free-text memo. Empty string when not set.

Ejemplo

{
"id": 431485,
"type": 0,
"name": "Acme Supply Co.",
"phone": "+1-415-555-0101",
"email": "orders@acme-supply.example.com",
"address": "123 Market St, San Francisco, CA 94103",
"memo": ""
}