Skip to main content

Submit Order

POST 

/submit

Finalize an order by submitting a quoted cart

Request

Body

required

    request_id uuidrequired

    A unique identifier to track this request

    order

    object

    required

    simpler_id uuidrequired

    Simpler's internal ID. Should be used for idempotency and for referencing to this order

    currency currency (string)required

    Possible values: >= 3 characters and <= 3 characters

    The ISO 4217 code of a currency

    coupon string
    payment_method string

    Possible values: [CARD, APPLE_PAY, GOOGLE_PAY, KLARNA, PAYPAL, REVOLUT_PAY]

    The payment method used for completing the order.

    simpler_discount

    object

    amount_cents uint64

    A discount applied by Simpler. It can be combined with a It will contain a positive value and it must be substracted from the cart.

    metadata

    object[]

    Custom key-value pairs defined during cart creation

  • Array [

  • key stringrequired
    value stringrequired
  • ]

  • shipping_method_id string

    One of the IDs returned during quotation

    pickup_store_id string

    ship_to

    object

    Shipping address

    first_name string
    last_name string
    phone string

    Possible values: >= 10 characters and <= 14 characters

    street stringrequired
    city stringrequired
    postcode stringrequired
    state string
    country stringrequired

    Possible values: >= 2 characters and <= 2 characters

    The ISO 3166-1 alpha-2 code of a country

    notes string

    items

    object[]

    required

  • Array [

  • id stringrequired

    Product ID

    quantity int32required

    attributes

    object

    User selected attributes (e.g. color, size)

    property name* string
  • ]

  • payment

    object

    id string
    type string

    Possible values: [COD]

    box_now

    object

    locker_id stringrequired

    Selected locker's id

    name string

    locker name

    address string

    Selected locker's id address

    postcode string

    Selected locker's id postcode

    lat string

    locker latitude

    lng string

    locker longitude

    user

    object

    required

    first_name stringrequired
    last_name stringrequired
    email emailrequired

    invoice

    object

    tax_id stringrequired

    The Tax Identification Number

    company_name stringrequired

    The official company name

    activity stringrequired

    The company's activity

    tax_authority stringrequired

    The tax authority which issued the tax id

    company_address stringrequired

    The company address

Responses

OK

Schema

    request_id uuid
    order_id string

    Id of the newly created order

    metadata

    object

    property name* string
Loading...