Product Supplier

ProductSupplier

created_at
string <date-time>
id
string <int64>
object
name
string
updated_at
string <date-time>
{}

List product suppliers

get/product_suppliers
SecuritybasicAuth
Request
query Parameters
order
string
Deprecated
Enum: "asc" "desc"
page
integer
per_page
integer [ 1 .. 100 ]
q[]
Array of strings

Filter result by one or more fields.

See Filtering Results

Available filters:

Value Format
created_at date-time
id int64
name string
updated_at date-time
sort
Array of strings

Comma separated search fields. See: Ordering

Example: sort=created_at:desc
Responses
200

successful operation

Request samples
Response samples
application/json
{}

Create product supplier

post/product_suppliers
SecuritybasicAuth
Request
Request Body schema: application/json
name
string
Responses
201

Resource was created

422

Resource could not be saved due to validation errors

Request samples
application/json
{
  • "name": "string"
}
Response samples
application/json
{}

Get product supplier

get/product_suppliers/{id}
SecuritybasicAuth
Request
path Parameters
id
required
string <int64>
Responses
200

Successful operation

Request samples
Response samples
application/json
{}

Update product supplier

patch/product_suppliers/{id}
SecuritybasicAuth
Request
path Parameters
id
required
string <int64>
Request Body schema: application/json
name
string
Responses
200

Resource was updated

422

Resource could not be saved due to validation errors

Request samples
application/json
{
  • "name": "string"
}
Response samples
application/json
{}

Archive product supplierDeprecated

delete/product_suppliers/{id}
SecuritybasicAuth
Request
path Parameters
id
required
string <int64>
Responses
204

Resource was archived successfully

Request samples

Archive product supplier

post/product_suppliers/{id}/archive
SecuritybasicAuth
Request
path Parameters
id
required
string <int64>
Responses
204

Resource was archived

Request samples