Update Order QuickBook Status

Updated 3 months ago ​by nussi

Overview

In order to update QuickBook Export status of an order you can do it as follows:

  • By calling endpoint for updating QuickBook export status of order / orders. That will be explain in this article.

Endpoint that is presented in this article is used for updating QuickBook exported status of single or multiple orders.

In order to consume the endpoint you must:

  • Be authenticated user

For information on how you can authenticate, see:  Authentication

As soon as you do authentication and receive a valid token, it needs to be passed on the call when updating the order.

  • Have valid ID of an existing order

Endpoint

Example for such endpoint for TT server is https://tt.api.sellercloud.com/rest/api/Orders/SetQuickBookStatus

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/Orders/SetQuickBookStatus

Request

  • Method Type: HttpPut
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json
  • Body data:

    Parameter

    Data Type

    Description

    Is Required

    OrderIDs

    List<int>

    IDs of existing orders.

    Yes

    Exported

    bool

    Export status:

    true for export

    false for not export

    Yes

Response

  • If server error appears, then response will be with status code 400 => Bad Request
  • If updating orders quick book status is successful, response will be Status Code 200 => OK "Orders successfully marked as {"Exported" / "Not Exported"}"


How did we do?