Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url http://localhost:3000/v1/admin/partners/brands/{id}/approve \ --header 'Content-Type: application/json' \ --data ' { "default_commission_rate_ambient": 0.5, "default_commission_rate_cold": 0.5 } '
{ "success": true, "partner_brand": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "company_name": "<string>", "contact_email": "jsmith@example.com", "contact_phone": "<string>", "business_type": "<string>", "company_logo_url": "<string>", "website_url": "<string>", "return_address_line1": "<string>", "return_address_line2": "<string>", "return_city": "<string>", "return_state": "<string>", "return_postal_code": "<string>", "return_country_code": "<string>", "approved_at": "2023-11-07T05:31:56Z", "rejection_reason": "<string>", "default_commission_rate_ambient": 123, "default_commission_rate_cold": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Approves a pending partner brand and creates their retailer/location entries.
0 <= x <= 1
Partner brand approved
Show child attributes