Chúng tôi sẽ ngừng cung cấp API Tại chỗ. Hãy tham khảo tài liệu về việc Ngừng cung cấp API Tại chỗ để biết chi tiết, đồng thời tìm hiểu cách chuyển sang API Đám mây thế hệ tiếp theo của chúng tôi.
/v1/settings/business/compliance_info
Use this endpoint to provide and retrieve e-commerce compliance information. Currently, compliance information includes a business's legal entity details.
Business compliance data is only exposed in the WhatsApp app and the WhatsApp Business app, and only if the app user's phone number is India-based (it begins with +91
).
admin
account to access the business compliance settings.Make a GET
API call to access a business' compliance information.
GET /v1/settings/business/compliance_info
A successful response includes the following information:
{ "settings": { "business": { "compliance_info": { "customer_care_details": { "email": "EMAIL", "landline_number": "+00000000000", "mobile_number": "+00000000000" }, "entity_name": "NAME", "entity_type": "TYPE", "entity_type_custom": "", "grievance_officer_details": { "email": "EMAIL", "landline_number": "+00000000000", "mobile_number": "+00000000000", "name": "NAME" }, "is_registered": false, "meta": { "api_status": "stable", "version": "2.38.0" } } } } }
Make a POST
call to provide a business' compliance information. In your call, include the parameters listed below.
Name | Description |
---|---|
| Required. A business' legal name. |
| Required. Available options are:
|
| Required in some cases. Use when |
type: Boolean | Required in some cases. Use when |
| Required. |
| At least one contact field must be specified. |
customer_care_details
ObjectName | Description |
---|---|
| Required. An email customers can use to reach the business. |
| Either A landline phone number customers can use to reach the business. Phone numbers must be provided with a |
| Either A mobile phone number customers can use to reach the business. Phone numbers must be provided with a |
grievance_officer_details
ObjectName | Description |
---|---|
| Required. The name of the business' grievance officer. |
| Either one of these contact methods (email, landline and mobile) is mandatory. The email of the business' grievance officer. |
| Either one of these contact methods (email, landline and mobile) is mandatory. A landline phone number for the business' grievance officer. Phone numbers must be provided with a |
| Either one of these contact methods (email, landline and mobile) is mandatory. A mobile phone number for the business' grievance officer. Phone numbers must be provided with a |
POST /v1/settings/business/compliance_info { "entity_name": "NAME", "entity_type": "TYPE", "entity_type_custom": "", "is_registered": false, "customer_care_details": { "email": "EMAIL", "landline_number": "+00000000000", "mobile_number": "+00000000000" }, "grievance_officer_details": { "name": "NAME", "email": "EMAIL", "landline_number": "+00000000000", "mobile_number": "+00000000000" } }