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

Create a template

POST
/invitations/templates

Authorization

bearer
headerAuthorizationBearer <token>

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

Query Parameters

shop_id*Shop Id

Request Body

application/json
  1. body

invitation {title, valid_until, phone, content_type, sample_type, message, overlap}; products [{id, standard_commission, ads_commission}] in percent. Creators are queued from the Creators page and dropped with DELETE /templates/{id}/creators.

invitation?|null
products?array<>|null

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/invitations/templates?shop_id=string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "success": true,  "data": {},  "message": "string",  "timestamp": "string"}