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.
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.
bearerAuthorizationBearer <token>A personal API key (gsk_…) or an app's OAuth token
shop_id*Shop Idapplication/json- 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"end""end""clean""change""merge"ids?array<string>items <= 10000[]all?Allfalseunpromoted?Unpromotedfalseaccepted_too?Accepted Toofalseposted_too?Posted Toofalsetitle?|nullvalid_until?string|nullphone?|nullsample_type?|nullproducts?array<>|nullOK
application/json- response
success?booleandata?message?string|nulltimestamp?stringcurl -X POST 'https://seller.growpaces.com/api/v1/invitations/bulk?shop_id=string' \ -H 'Content-Type: application/json' \ -d '{}'{ "success": true, "data": {}, "message": "string", "timestamp": "string"}Bring the stored invitations in line with TikTok, in the background POST
The page's Sync Invitation button: a COLLAB_SYNC job over every open invitation. `auto`: the Published tab opened -- a Sync only when the last one is over an hour old and nothing goes on the shop's invitations (no job is not an error).
What the bulk dialogs start from: count, latest end date, last Sync, merged products GET
Seterusnya