latestOpenAPI 3.0.12026-08-192092911.2 MB

916e669fc527

PurchaseOrders

Create a new flag for a purchase order

Create a new flag for a purchase order (required scope finance:write)

post/v1/finance/purchaseOrders/{purchaseOrderId}/flags

Path parameters

purchaseOrderIdinteger required

The purchase order id

Headers

Customer-Idinteger required

The customer identifier

Request body

flagIdinteger required

The unique identifier of the flag to apply

ownerstring

User email or ID who owns the flag

commentsstring nullable

Additional context for the flag

Example request

{
  "flagId": 12345,
  "owner": "john.doe@example.com",
  "comments": "Requires special attention"
}

Response

Created

idinteger

Identifier of the newly created record