API channel_id

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomtomg
    Senior Blueparker
    • Sep 2017
    • 346

    #1

    API channel_id

    Playing with the API, initially using the tool at https://www.bluepark.co.uk/api-specification.html

    I'm able to count the number of pending orders using the query below.
    https:// www.ourwebsite.co.uk/api/v1/orders/count?status_id=1

    However, we have our main retail site and a wholesale channel, I'd like to just count the orders on the retail site. The tool does mention this but requests the "channel_id" integer. Where might I find this?

    Cheers,
    Tom
  • tomtomg
    Senior Blueparker
    • Sep 2017
    • 346

    #2
    Aaaaand 2 mins later I answered my own question: Requested all orders and found the relevant channel_id in the results. It was "0".

    Comment

    Working...