Skip to main content

Order by lookup key

PATCH 

/orders/:lookupKey/:lookupValue

Update order headers details. This request does not support updating orderitems. An order address can be updated using the order address endpoints.

Orders are referenced by a lookupKey / lookupId combination

lookupKeys
id
sourceId

What are lookup keys?

Request

Path Parameters

    lookupKey stringrequired

    Use id or externalId

    id - Integer

    lookupValue stringrequired

    The id or externalId of the order

Body

    exportDate string
    exportMessage string
    exportStatus string
    externalId string
    status string

Responses

Update Order - 200 / Update Order postage data - 200

Response Headers

  • Alt-Svc

    string

  • Via

    string

  • alt-svc

    string

  • content-length

    string

  • date

    string

  • return-format

    string

  • server

    string

  • x-request-id

    string

Schema

    data

    object

    clientData

    object

    abbreviation string
    company string
    dateOfBirth string
    debtorId string
    email string
    firstName string
    fullName string
    gender string
    id number
    lastName string
    login string
    middleName string
    mobile string
    phone string
    ssn string
    title string
    vatNumber string
    date string
    debtorId string
    email string
    externalId string
    extraInfo string
    firstName string
    id number

    invoiceData

    object

    address

    object

    active string
    city string
    code string
    company string
    country string
    email string
    fax string
    firstName string
    gender string
    icp string
    id number
    isDefault string
    lastName string
    middleName string
    mobile string
    name string
    notes string
    number string
    numberExtension string
    phone string
    postalCode string
    region string
    street string
    type string
    url string
    itemCount number
    language string
    lastName string
    middleName string

    paymentData

    object

    grossAmount number
    netAmount number
    payMethod string
    payStatus string
    paystatusdate string
    tax number
    taxPercentage number
    transactionId string

    postageData

    object

    carrier string
    partialDeliveryAllowed string
    postage number
    postageNet number
    postageTaxPercentage number
    requestDate string
    shippingMethod string
    reference string
    remarks string

    shippingData

    object

    address

    object

    active string
    city string
    code string
    company string
    country string
    email string
    fax string
    firstName string
    gender string
    icp string
    id number
    isDefault string
    lastName string
    middleName string
    mobile string
    name string
    notes string
    number string
    numberExtension string
    phone string
    postalCode string
    region string
    street string
    type string
    url string
    shopId number
    siteId number
    source string
    status string

    total

    object

    discountPercentage number
    discountValue number

    tax

    object

    21 number
    totalGross number
    totalNet number
    type string
    userId number
    messages string[]
    total number
Loading...