Skip to main content
PATCH
/
v1
Update a a list of purchase details
curl --request PATCH \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/purchase-detail/v1/' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  "<unknown>"
]'
{
  "ids": [
    {
      "externalId": "<string>",
      "id": "<string>"
    }
  ],
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

Request information needed to update the purchase detail

Response

Successfully updated

ids
object[]
required

Ids of the purchase details that has been created or updated.

description
string

Short description of the result of the action