Skip to content

OR64 - Mark an incident as resolved

Request

Call Frequency
Maximum usage: At each incident resolution on an order line
Read More
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMIN
ROLE_PARTNER_ORDER_INCIDENT_RESO...
)
Path
order_idstringrequired

Order identifier

linestringrequired

Order line identifier

Query
shop_idinteger, (int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

Bodyapplication/json
reason_codestringrequired

Incident resolution reason code

curl -i -X PUT \
  'https://your-instance.mirakl.net/api/orders/{order_id}/lines/{line}/resolve_incident?shop_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "reason_code": "8"
  }'

Responses

No Content