Bỏ qua để đến nội dung

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 2147483647bắt buộc

Partner id.

typenumberbắt buộc

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

Giá trị có thể có01

namestringbắt buộc

Partner display name.

phonestringbắt buộc

Phone number. Empty string when not set.

emailstringbắt buộc

Email address. Empty string when not set.

addressstringbắt buộc

Postal address. Empty string when not set.

memostringbắt buộc

Free-text memo. Empty string when not set.

Ví dụ

{
"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": ""
}