Rassmi Developers

Orders

Update Order

Correct the customer's details, the amounts or the notes of an order that is not shipped yet. Send only the fields to change; an order.updated webhook follows.

PATCH https://rassmi.com/api/v1/orders/{order}

Authorization

  • Authorizationheaderrequired

    Bearer rsk_…: the store's API key, from API Key in your Rassmi dashboard.

Path parameters

  • order string required

    The order ID.

Body

  • customer_name string

    Up to 255 characters.

  • customer_phone string

    Any common format; stored as 0XXXXXXXXX.

  • customer_address string

    Up to 500 characters.

  • customer_wilaya string

    Wilaya code or name.

  • customer_commune string

    Commune ID or name.

  • total_amount number

    In DZD.

  • shipping_fee number

    In DZD.

  • notes string

    Up to 1,000 characters; null clears them.

Responses

StatusMeaning
200Success. The body is shown on the right.
404No such resource in this store.
422Validation failed, or the order is shipped, delivered or returned.
401Missing, unknown, paused or expired API key.
429More than 60 requests in a minute. See Rate limits.