跳到內容

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 2147483647必填

Partner id.

typenumber必填

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

可能的值01

namestring必填

Partner display name.

phonestring必填

Phone number. Empty string when not set.

emailstring必填

Email address. Empty string when not set.

addressstring必填

Postal address. Empty string when not set.

memostring必填

Free-text memo. Empty string when not set.

範例

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