Picture

Reject Sales Order

Picture

Request Header

Name
Type
Required
Description
Authorization
String
Required
OAuth token obtained after the user has provided consent and the authorized partner calls the /authorization/Connect/Token endpoint to retrieve this token
Content-Type
String
Required
Content type of request payload
Value:
- application/json
Ocp-Apim-Subscription-Key
String
Required

Request Body

Name
Type
Required
Description
salesOrderIds
Long[]
Required
รายการ Id ของกิจกรรมที่จะอนุมัติ
reason
String
Optional
เหตุผล

Example Request

curl --location --requestDELETE'https: //api.veniocrm.com/dev/v1/SalesOrders/Reject' \

--header 'Authorization: Bearer <Your access_token>' \

--header 'Content-Type: application/json' \

--data-raw '{ "salesOrderIds": [ 0 ], "reason": "string" }'

Download postman Collection

Response Codes

HTTP Status Code
Description
200
ลบ Sale order สำเร็จ
400
ข้อมูล Request ไม่ถูกต้อง
401
Unauthorized
403
Forbidden
© Copyright 2021 Gofive Co., Ltd. All right reserved.