Storefront

Invite a store to become a partner

POST
/v1/stores/{storeId}/storefront/partnerships

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/storefront/partnerships" \  -H "Content-Type: application/json" \  -d '{    "storeSlug": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "inviterStoreId": "510e9abe-1b3d-47dc-a89b-0200f98f204a",  "inviteeStoreId": "52aa994c-7578-4d88-b473-9b81107d8187",  "otherStore": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "slug": "string"  },  "state": "pending",  "direction": "sent",  "selectedProductIds": [    "5c609460-07c4-4c26-801d-b795a8bbca9e"  ],  "createdAt": "string",  "acceptedAt": "string",  "endedAt": "string"}