Skip to Content
GrowSellerDocsAffiliate command center

End, clean, extend, change the products of or merge invitations, in the background

One job for the action (COLLAB_END / CLEAN / EXTEND / PRODUCTS / MERGE) over its invitations; it works from our table as the last Sync left it.

POST
/invitations/bulk

One job for the action (COLLAB_END / CLEAN / EXTEND / PRODUCTS / MERGE) over its invitations; it works from our table as the last Sync left it.

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

A bulk action on invitations over the ones picked (ids), or with all: true over every open invitation (end takes picked ones only; merge: two or more picked, or all). clean: unpromoted (the unaccepted always go). change: any of title, valid_until (YYYY-MM-DD, today or later), phone, sample_type ("" = no free sample) and products (the products that replace theirs, [{id, standard_commission, ads_commission}] in percent); a field left out stays as it is. merge: accepted_too, posted_too.

action?Action
Default"end"
Value in"end""clean""change""merge"
ids?array<string>
Itemsitems <= 10000
Default[]
all?All
Defaultfalse
unpromoted?Unpromoted
Defaultfalse
accepted_too?Accepted Too
Defaultfalse
posted_too?Posted Too
Defaultfalse
title?|null
valid_until?string|null
phone?|null
sample_type?|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/bulk?shop_id=string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "success": true,  "data": {},  "message": "string",  "timestamp": "string"}