Skip to main content

Update Plan by Number

PUT 

/:installmentPlanNumber/updateorder

Locate a plan by installment number then carry out post-authorization activities related to the plan, such as updating the order number, updating the tracking number, updating shipping status, or updating the plan amount (if it hasn't been captured yet). You can also use this endpoint to capture the first installment from a plan that has only been authorized but not yet captured.

Request

Path Parameters

    installmentPlanNumber stringrequired

Header Parameters

    X-Splitit-IdempotencyKey string

Body

    TrackingNumber string
    RefOrderNumber string

    A merchant-specific identifier value provided at creation of the plan by the merchant

    ShippingStatus string

    Possible values: [Pending, Shipped, Delivered]

    Capture boolean

    Set this as true to capture the first payment for a plan that has been authorized but not captured.

    NewAmount number

    Use to update plan amount if plan amount hasn't been captured yet (i.e. AutoCapture was set to false in the Initiate or Create operation). In addition, 1. amount must be more than original amount 2. first email to customer will be sent upon capture

Responses

Success

Schema

    RefOrderNumber string
    InstallmentPlanNumber string
    Status stringrequired

    Possible values: [Initialized, PendingCapture, Active, Cleared, Canceled]

    ShippingStatus stringrequired

    Possible values: [Pending, Shipped, Delivered]

Loading...