Create merchant

Create merchant. You use this endpoint to register a merchant (store) in a marketplace using the information the merchant provides.

Note: Before you create merchants, you must create a Merchant program, using the Create program based on template endpoint with type set to MERCHANT. If a program of type MERCHANT is not provided, the request returns an error.

By default, when a merchant is created, the Pismo platform assigns it to the first existing program of type MERCHANT in the Org. However, you have the option of specifying a program by providing its ID in the program_id field. The program you specify in program_id must be of type MERCHANT.

Note: When marketplace_id is provided in the body, the merchant is automatically linked to that marketplace after creation.

For more information about merchants, refer to the Seller management overview guide.

This endpoint generates a Merchant created event.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request payload for creating a merchant.

string
required
length between 1 and 14

Government document code, such as a government-issued tax ID

string
required
length between 1 and 100

Merchant legal name

string
required
length ≤ 255

Merchant contact email address

string
length between 1 and 50

Secondary trade name for the merchant

string
length between 1 and 15

Official company registration with the local municipality

string
length between 1 and 50

External system identifier. Should be unique across the merchants.

string
length between 1 and 45

Business-category external code. Resolved to a business category ID; not stored on the merchant.

int64

Program ID of type MERCHANT. If omitted, the first program of type MERCHANT in the org is assigned; if none exists, the request returns an error.

string
length between 1 and 80

Street address

int32

Address number

string
length between 1 and 50

Additional address details (building, suite, floor)

string
length between 1 and 50

Neighborhood or district

string
length between 1 and 9

Postal code

string
length between 1 and 60

City or municipality name

string
length between 1 and 50

City code

string
length between 1 and 2

State or province code

string
length between 1 and 30

Country name or code

string
length between 1 and 50

Contact person name

string
length ≤ 25

Phone number in E.164 format

string
length ≤ 25

Additional phone number in E.164 format

int64

ID of the marketplace to link the merchant to after creation.

creditor
object
required

Merchant creditor

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json