SalesMania
  1. Orders
SalesMania
  • Authentication & Select Database
    • Get bearer token from Basic Auth
      GET
    • Get list of databases
      GET
    • Get team token for a selected database
      GET
  • Customers
    • Get customers
      GET
    • Add new customer
      POST
    • Get customer by ID
      GET
    • Update customer by ID
      PATCH
    • Delete customer by ID
      DELETE
  • Products
    • Get products
      GET
    • Add new product
      POST
    • Get product by ID
      GET
    • Update product by ID
      PATCH
    • Delete product by ID
      DELETE
  • Visits
    • Get visits
      GET
    • Add new visit
      POST
  • Orders
    • Add new order
      POST
    • Get order by ID
      GET
    • Update order by ID
      PATCH
  • Team
    • Get teams
      GET
  1. Orders

Update order by ID

PATCH
/extapi/v1.0/orders/{id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
Query Params
team_token
string 
optional
Team token from api /extapi/v1.0/team_token
Body Params application/json
ext_order_status_name
string 
optional
Your external order status
Example
{
    "ext_order_status_name": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.salesmania.id/extapi/v1.0/orders/?team_token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ext_order_status_name": "string"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-03-25 05:16:50
Previous
Get order by ID
Next
Get teams
Built with