Skip to content

updatePurchaseOrderFavorite

DESTRUCTIVE

Update purchase order favorite.

POST /api/v1/purchasing/updatePurchaseOrderFavorite
curl -X POST '<your-host>/api/v1/purchasing/updatePurchaseOrderFavorite' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "string",
    "favorite": true
  }'

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "favorite": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "favorite"
  ]
}