POST
Create seller supplier

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Supplier name. Cannot be blank.

Pattern: \S
active
boolean
required

Whether the supplier is active.

id_type
enum<string>
required

Identification type. Must be valid in a country where your account is active (see the table above).

Available options:
CC,
NIT,
OTHER,
INE,
CURP,
RFC
id_number
string
required

Identification number. Cannot be blank.

Pattern: \S
notifications_email
string<email>
required

Email for supplier notifications. Must be a valid email.

phone_number
string
required

Supplier phone number. Cannot be blank.

Pattern: \S
external_id
string

Your own identifier for the supplier. Unique per seller. Cannot be blank.

Pattern: \S
warehouse_configurations
object[]

Unpacking configuration per warehouse. Requires a negotiated agreement with Melonn.

Response

Supplier created. Returns the supplier and all its warehouse_configurations (an empty array when none were sent).

A supplier of your account.

id
integer

Melonn id of the supplier.

name
string

Supplier name.

id_type
string

Identification type.

id_number
string | null

Identification number.

active
boolean

Whether the supplier is active. Supplier orders can only be created for active suppliers.

phone_number
string

Supplier phone number.

notifications_email
string

Email for supplier notifications.

external_id
string | null

Your own identifier for the supplier, or null.

warehouse_configurations
object[]