Mijozlar
Sotuvchining o‘zidan xarid qiladigan odamlar haqidagi yozuvi.
List the merchant's customers
Authorizations
The key the merchant issued you, sent verbatim including its bik_ prefix. Bione stores only a hash, so a lost key cannot be recovered — it has to be reissued.
Parameters
Query Parameters
11120Search name
Responses
A page of customers.
Create or update a customer by phone
Keyed on the phone number, so sending the same one again updates the existing record instead of creating a second. That makes an address-book sync safe to re-run.
No Bione account is created for the person. A contact in your system is not evidence they have transacted, and an account is someone's identity rather than a row in a CRM. The person gets one when they sign in to Bione with this number, which also attaches this record to it; until then userId is null and the orders route cannot take them as its customer.
The number is stored as claimed, not verified. Nobody has proved they hold it, so it grants nothing until that person proves it at sign-in, which is also what attaches this record to their account.
Authorizations
The key the merchant issued you, sent verbatim including its bik_ prefix. Bione stores only a hash, so a lost key cannot be recovered — it has to be reissued.
Request Body
Responses
The customer record.
Get one customer
Authorizations
The key the merchant issued you, sent verbatim including its bik_ prefix. Bione stores only a hash, so a lost key cannot be recovered — it has to be reissued.
Responses
The customer.