ข้ามไปยังเนื้อหา
GrowSellerเอกสารAffiliate command center
API ReferenceCreator contacts

Add a contact for the store (USER)

POST
/creators/{creator_oec}/contacts

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (gsk_…) or an app's OAuth token

Path Parameters

creator_oec*Creator Oec

Request Body

application/json
  1. body
shop_id*Shop Id
Formatuuid
contact_type*Contact Type
Value in"EMAIL""PHONE"
contact_value*Contact Value
Length1 <= length <= 254

Response Body

OK

application/json
  1. response
success?boolean
data?
message?string|null
timestamp?string
Example Request
curl -X POST 'https://seller.growpaces.com/api/v1/creators/string/contacts' \  -H 'Content-Type: application/json' \  -d '{  "shop_id": "89e430df-96ce-4ad0-b869-a7ba3bbdf710",  "contact_type": "EMAIL",  "contact_value": "string"}'
Example Response
{  "success": true,  "data": {},  "message": "string",  "timestamp": "string"}