Skip to main content
POST
/
v1
/
pvt
/
Order
/
{orderId}
/
complete
request for setting a purchase order completed.
curl --request POST \
  --url https://api.bonifiq.com.br/v1/pvt/Order/{orderId}/complete \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "OrderCompletedDate": "2023-11-07T05:31:56Z",
  "OrderStatus": "<string>"
}
'
{
  "ErrorMessage": "<string>",
  "ErrorCode": 123,
  "Result": {
    "IsCompleted": true,
    "UpdatedAt": "2023-11-07T05:31:56Z",
    "Status": 0
  },
  "HasError": true
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Path Parameters

orderId
string
required

Order id from the client store

Body

application/json

Order Complete request body

OrderCompletedDate
string<date-time>

Date the order was set complete on store

OrderStatus
string | null

status from the order

Response

200 - application/json
ErrorMessage
string | null

Error message or description

ErrorCode
integer<int32> | null

Optional error code, if available

Result
object
HasError
boolean

If true the request had an error.