---
title: "POST /api/v1.0/auditlogs/orders/{orderId}"
method: POST
path: "/api/v1.0/auditlogs/orders/{orderId}"
tags: ["AuditLogs"]
---

# POST /api/v1.0/auditlogs/orders/{orderId}

`POST /api/v1.0/auditlogs/orders/{orderId}`

## Request

- Base URL: `https://api.flipdish.co`
- URL: `https://api.flipdish.co/api/v1.0/auditlogs/orders/{orderId}`
- Auth: OAuth 2 (implicit, authorization URL `https://api.flipdish.co/identity/connect/authorize`, scopes: `api`)

## Path parameters

- `orderId` integer, required

## Request body

- ExternalStoreAuditLog[]
  - `ExternalCreateTime` string, date-time: The time of creation of the event
  - `StoreId` integer: Store Id
  - `Description` string: Description
  - `Source` string: Identifies the source of the log
  - `Version` string: Identifies the version of the {Flipdish.PublicModels.V1.AuditLogs.ExternalStoreAuditLog.Source}
  - `DescriptionFormat` string: Description with format placeholders
  - `DescriptionFields` string: Description with format placeholders
  - `DescriptionId` string: Description
  - `Ref1` string: Ref (reference field)
  - `Ref2` string: Ref2 (reference field)
  - `Ref3` string: Ref3 (reference field)
  - `Ref4` string: Ref4 (reference field)
  - `OrderId` integer, nullable: Order Id
  - `Tags` string[]: Tags
  - `FieldChanges` AuditLogFieldChangeInformation[]: Field changes list
    - `Path` string: Path (hierarchy)
    - `Name` string: Name of field
    - `Key` string: Key (code) of field
    - `OldValue` string: Old value
    - `NewValue` string: New value

## Response `200`

OK

## Other responses

- `400`: BadRequest
- `401`: Authentication has been denied for this request.
- `403`: Successful authentication, but authorization has been denied for this request.

---

[API](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/revisions/ec0c138b13ca?raw)
