twosided
  • Welcome
  • API Reference
    • Track a new charge
    • Create a new supplier
    • Create a new customer
  • Setting up your Stripe API key
  • Connecting to Sharetribe
Powered by GitBook
On this page
  1. API Reference

Create a new supplier

POST /supplier

Create a new supplier

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

name*

string

Name of the user

email*

string

Email of the user

external_id*

string

ID of supplier in external system

country

string

Alpha-2 country code

description

string

url

string

Response

{
  "status": "ok",
}
{
  "error": "Invalid request"
}
PreviousTrack a new chargeNextCreate a new customer

Last updated 9 months ago