Types of Payers in an Online Store: Overview of Methods
Customers are divided into individual and legal entities based on payer types. Each payer type has its own properties for placing an order. Depending on the selection, the user sees the corresponding fields, available payment systems, and delivery services.
Quick navigation: all methods
Connection of Payer Types with Other Objects
In all connections of the online store, the required parameter personTypeId is used — the code for the payer type field. You can obtain a list of such codes using the method sale.persontype.list.
Correspondence to Individual and Legal Entities. When creating a payer type, you can specify any name, but you need to define the status: individual or legal entity. To do this, use the methods sale.businessValuePersonDomain.*.
Order. Create or modify an order using the methods sale.order.*.
Order Properties. Create fields that the buyer must fill out when placing an order, such as "Metro Station" or "Delivery Date and Time." To create order properties, use the methods sale.property.*.
Shipment Properties. If there are multiple shipments in one order, create shipment properties using the methods sale.shipmentproperty.*. For example, if there are three books in an order that need to be sent to different addresses, create shipment properties to specify the address for each shipment.
Property Groups. Link the order or shipment property to the appropriate group: personal data, delivery information, company data, contact information. You can create or modify property groups using the methods sale.propertygroup.*.
Payment Systems. Create or modify a payment system using the methods sale.paysystem.*.
Overview of Methods
Scope:
saleWho can perform the methods: administrator
|
Method |
Description |
|
Adds a payer type |
|
|
Modifies a payer type |
|
|
Returns the fields of the payer type by identifier |
|
|
Returns a list of payer types |
|
|
Deletes a payer type |
|
|
Returns the fields of the payer type |