Skip to main content
POST
Spree Seller SDK

Authorizations

Authorization
string
header
required

JWT token for an authenticated seller session (seller_api audience)

Headers

X-Spree-Seller-Id
string
required

Body

application/json
name
string
required
kind
enum<string>
Available options:
box,
envelope,
carton,
pallet,
container
length
number | null
width
number | null
height
number | null
dimensions_unit
enum<string> | null
Available options:
mm,
cm,
in,
ft
weight
number | null

The empty package's own weight, added to every quote.

max_weight
number | null
weight_unit
enum<string> | null
Available options:
g,
kg,
lb,
oz
default
boolean

Makes this the box this seller's parcels are quoted with. One default per seller, so it never displaces the marketplace's.

metadata
object | null

Response

package type created

id
string
required
name
string
required
kind
enum<string>
required
Available options:
box,
envelope,
carton,
pallet,
container
length
string | null
required
width
string | null
required
height
string | null
required
weight
string | null
required
max_weight
string | null
required
default
boolean
required
metadata
object | null
required
created_at
string
required
updated_at
string
required
dimensions_unit
enum<string>
required
Available options:
mm,
cm,
in,
ft
weight_unit
enum<string>
required
Available options:
g,
kg,
lb,
oz
volume
string | null
required
editable
boolean
required