Skip to content

Bulk update deals

PATCH
/api/apiGateway/bulkUpdateDeals

Update multiple deals in bulk.

Request

Type: application/json

Schema: UpdateDealsRequestDto

itemsToUpdate array [ DealUpdateDto ]

Response

Type: application/json

Schema: UpdateDealsResponseDto

success boolean

Indicates whether the request completed successfully.

error ErrorDto

errors array [ UpdateEngineError ]

updatedEntities array [ string ]

POST ${BASE_URL}/api/apiGateway/bulkUpdateDeals
Accept: */*
Authorization: Bearer eyJz93a...k4laUWw
curl --request PATCH \
    --url "${BASE_URL}/api/apiGateway/bulkUpdateDeals" \
    --header 'Accept: */*' \
    --header 'Authorization: Bearer eyJz93a...k4laUWw'
Response
{
  "success": true,
  "error": {
    "target": "string",
    "code": "Duplicated",
    "message": "string",
    "details": ["string"]
  },
  "errors": [
    {
      "id": "string",
      "operation": "Create",
      "errorType": "IdNotFound",
      "description": "string",
      "fieldName": "string"
    }
  ],
  "updatedEntities": ["string"]
}