Skip to main content

v2/pendingorders

Less than 1 minute

v2/pendingorders

Description

Get a list of orders published but not processed.

Request

  • Method: GET
  • Content Type: application/json
  • URL: https://api.gosweetspot.com/v2/pendingorders

Headers

  • access_key : your unqiue api key provided by GSS.
  • site_id : which site you are requesting action for.

Parameters

  • None

Return format

A JSON object with array of customer orders.

Response

ParameterTypeDescription
objectlistlist of customer orders

Request example

curl --location 'https://api.gosweetspot.com/v2/pendingorders' \
--header 'access_key;' \
--header 'site_id;' \
--header 'Content-Type: application/json' \
--data ''

Response example

[
  {
    "packingslipno": "test1-14-07-01",
    "consignee": "TEST 1",
    "address1": "",
    "address2": "1 QUEENS STREET",
    "suburb": "AUCKLAND CENTRAL",
    "city": "AUCKLAND",
    "postcode": "",
    "country": "NZ",
    "delvref": "TEST1-14-07-01",
    "delvinstructions": "",
    "contactname": "",
    "contactphone": "",
    "email": "",
    "rawAddress": null,
    "iconUrl": null,
    "isrural": null,
    "notrural": null,
    "costcentre": null,
    "status": null,
    "products": [],
    "packages": []
  },
  {
    "packingslipno": "test2-14-07-01",
    "consignee": "TEST 2",
    "address1": "",
    "address2": "1 QUEENS STREET",
    "suburb": "AUCKLAND CENTRAL",
    "city": "AUCKLAND",
    "postcode": "",
    "country": "NZ",
    "delvref": "TEST2-14-07-01",
    "delvinstructions": "",
    "contactname": "",
    "contactphone": "",
    "email": "",
    "rawAddress": null,
    "iconUrl": null,
    "isrural": null,
    "notrural": null,
    "costcentre": null,
    "status": null,
    "products": [],
    "packages": []
  }
]
Last update: