Items
Create sites (as a partner)
Creates sites for the specified merchant, managed by the specified partner.
Given a list of names and urls, this endpoint will create a new site, a liveclient app
and a test client app if the site doesn't exist for the given merchant. If the site
already exists, both site and client apps will be updated.
The endpoint returns a list `sites` with info about the sites created/updated.
If an error happens during the creation or update of one or more sites, they will
be returned in the `errors` list. Otherwise, this list will be empty.
For use by Supertab partners.
<!-- autogenerated scope notes -->
**Required Scopes:**
business:site:write
POST
/
v1
/
partners
/
{partner_alias}
/
sites
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
partner_alias
string
requiredThe alias of the partner
Query Parameters
merchant_id
string
requiredThe id of the website's owner
Body
application/json · object[]
name
string | null
url
string
requiredRequired string length:
1 - 2083
Response
200 - application/json
Entity used as Response Model on Create Sites Endpoint.
sites
object[]
requirederrors
object[]
required