POST /market-messages/{mpid}/{message_id}/resend
Requests a resend of an eligible outbound market message for the authenticated supplier.
Request
Method and path:
POST /market-messages/{mpid}/{message_id}/resend
Headers:
X-API-KEYorAuthorization: Bearer <token>(one required). API key takes precedence when both are supplied.X-IDEMPOTENCY-KEY(required): non-empty string.X-TEST-MODE(optional): has no effect on resend requests.
Path parameters:
mpid(required): string supplier MPID authorized for the authenticated tenant.message_id(required): UUID of the message to resend.
Request body:
- None.
Response
Success:
200 OK.- Body type: object.
{
"message": "Message resend queued successfully",
"message_id": "72f30f06-afcc-4ad8-8c1f-78e556ea9cbc",
"queue_id": "ea12efad-051c-4f03-a076-b8729675bddb",
"status": "queued"
}
Other documented responses:
400 Bad Requestif the resend cannot be initiated.401 Unauthorizedfor invalid authentication or whenmpiddoes not match the authenticated supplier.403 Forbiddenwhen the tenant has no access to the requested supplier.404 Not Foundwhen the message is not found as an outbound message owned by that supplier.409 Conflictwhen a dispatchable queue entry already exists for the message with an active dispatch status.422 Unprocessable Entitywhenmessage_idis not a UUID.428 Precondition RequiredwhenX-IDEMPOTENCY-KEYis missing or empty.500 Internal Server Errorfor an unexpected resend error.
Notes:
- Resend does not filter by message status.
queue_ididentifies the persistent outbound queue entry. Delivery is asynchronous.- A successful response is cached for the idempotency key for up to 72 hours; a replay returns the stored response.
Field-level constraints: