Skip to main content

Change application order

PUT 

/financing/v1/applications/:uuid/order

Requires applications.order.edit authority for authenticated user

When there's some changes within order that may have an important impact on the repayment process after its submission, use /financing/v1/applications/{applicationId}/order resource in order we can adjust everything properly. {applicationId} is the application ID you received in the response of /financing/v1/applications after its creation.

Financing typeSupported
INSTALLMENTYES
Application stateAvailability
REJECTEDNO
CANCELEDNO
PROCESSINGYES
READYYES* (see the availability note below)

Use /financing/v1/applications/{applicationId}/order resource with properly filled request that contains (only) changed data (resource allows partial put).

AVAILABILITY NOTE: Valid request object contains only order number (order.number) and/or one item in the array order.variableSymbols[]. Supported stateReason of state READY are READY_TO_SHIP, READY_SHIPPED, READY_DELIVERING (state PROCESSING is supported without any limitations).

If the request was successfully processed, you receive HTTP status code 200 and object of information about changed order plus basic information about respective application (ID, state, substate) with at least following information in the response:

  • Order number
  • Order total price (including VAT)
  • Order items (array)
    • Order item name
    • Total price (all pieces, including VAT)
    • Order item state
  • Order state
  • Application basic information
    • ID
    • Application state
    • Application substate

In other cases, you receive one of the following errors:

Status codeCodeExplanation
400INVALID_REQUESTRequest was not well formatted (malformed request syntax, size too large, etc.)
404OBJECT_NOT_FOUNDThe requested resource could not be found
422NOT_SUPPORTEDResource is not supported for given financing type
422UNPROCESSABLEThe request was well-formed but was unable to be followed due to semantic errors
422APPLICATION_REJECTEDWhen you try to cancel already REJECTED Application, which is not allowed
500INTERNAL_SERVER_ERRORUnexpected condition was encountered and no more specific message is suitable

Request​

Responses​

OK