Skip to main content
POST
/
vendor
/
sellers
Create a Seller
curl --request POST \
  --url https://api.example.com/vendor/sellers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "member": {
    "name": "<string>",
    "email": "<string>",
    "bio": "<string>",
    "phone": "<string>",
    "photo": "<string>"
  },
  "description": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "photo": "<string>",
  "address_line": "<string>",
  "postal_code": "<string>",
  "city": "<string>",
  "state": "<string>",
  "country_code": "<string>",
  "tax_id": "<string>"
}
'
{
  "request": {
    "id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "type": "<string>",
    "data": {},
    "submitter_id": "<string>",
    "reviewer_id": "<string>",
    "reviewer_note": "<string>",
    "status": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the seller.

Minimum string length: 1
member
object
required
description
string | null

A description of the seller.

email
string

Store contact email.

phone
string

Store contact phone.

photo
string | null

URL to the seller's photo.

address_line
string | null

Seller address line.

postal_code
string | null

Seller postal code.

city
string | null

Seller city.

state
string | null

Seller state.

country_code
string | null

Seller country code.

tax_id
string | null

Seller tax id.

Response

201 - application/json

Created

request
Request · object

A request object