Skip to main content
POST
/
vendor
/
sellers
/
me
Update Current Seller
curl --request POST \
  --url https://api.example.com/vendor/sellers/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "photo": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "address_line": "<string>",
  "postal_code": "<string>",
  "city": "<string>",
  "state": "<string>",
  "country_code": "<string>",
  "tax_id": "<string>"
}
'
{
  "seller": {
    "id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "handle": "<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>",
    "members": [
      {
        "id": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "role": "owner",
        "email": "[email protected]",
        "name": "<string>",
        "bio": "<string>",
        "photo": "<string>",
        "seller": "<unknown>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

A schema for the update seller request body.

name
string

The name of the seller.

Minimum string length: 4
description
string | null

A description of the seller.

photo
string | null

URL to the seller's photo.

email
string

Store contact email.

phone
string

Store contact phone.

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

200 - application/json

OK

seller
Seller · object

A seller object with its properties