Skip to content

Enable rush processing

POST /v1/enable_rush_processing

Marks an order for rush processing. Only applies to orders that haven't shipped yet.

Request

Send username, password and secretkey along with a data object. See Making requests.

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "secretkey": "YOUR_SECRET_KEY",
  "data": {
    "order_id": "1001"
  }
}
curl -X POST https://gatewaybeta.marcofinearts.com/v1/enable_rush_processing \
  -H "Content-Type: application/json" \
  -d '{
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD",
    "secretkey": "YOUR_SECRET_KEY",
    "data": {
      "order_id": "1001"
    }
  }'

data fields

Field Required Validation Notes
order_id Yes Numeric Marco Fine Arts order ID.

Response

{
  "res": "success"
}
{
  "res": "error",
  "code": "000",
  "message": "Error message."
}

Error codes

Code Error Description
1201 Authentication failed Your account is invalid or does not have API access. Check username, password and secretkey.
1202 Missing field One or more required fields are missing.
1204 Invalid data type One or more fields must be numeric.
1213 Invalid data Invalid order_id.