跳到正文
GrowSeller文档Affiliate command center
API 参考Target Collaboration

Edit a template

PATCH
/invitations/templates/{template_id}

Authorization

bearer
headerAuthorizationBearer <token>

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

Path Parameters

template_id*Template Id
Formatuuid

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 PATCH 'https://seller.growpaces.com/api/v1/invitations/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08?shop_id=string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "success": true,  "data": {},  "message": "string",  "timestamp": "string"}