API 参考Target Collaboration
Create a template
POST
bearerheader
AuthorizationBearer <token>A personal API key (gsk_…) or an app's OAuth token
shop_id*Shop Idapplication/json- 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?|nullproducts?array<>|nullOK
application/json- response
success?booleandata?message?string|nulltimestamp?stringcurl -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"}