Mark a supplier order's shipment outcome settled

Changed on

Marks the shipment of a supplier's shipment order resolved once the supplier settled what the buyer reported, with whoever resolved it and when: an accepted shipment some line of which arrived other than as sent, or one marked never received. The order then no longer needs attention; its status never changes. A shipment already resolved is left unchanged, so a retry is safe. Returns the order id. Refused with CONFLICT and the refusal orderNotShipped for an order that has not shipped, and shipmentNotResolvable for a shipment that needs no attention: in transit, recalled, or accepted as sent. Refused with shiftClosed once the order's shift has closed (FORBIDDEN; BAD_REQUEST when creating under it) and with FORBIDDEN notShiftParticipant for a caller not taking part in the shift. Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

post/api/public/v1/orders/resolveShipment

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
orderId, string required

Response

OK

object required
id, string required

Changes