This API allows you to create and manage your orders with Tucia in a simple, programmatic way using conventional HTTP requests. The endpoints are intuitive and powerful, allowing you to easily make calls to retrieve information or to execute actions.
With this API, you are able to add Tucia's human-powered photo editing functionality to any application. This is especially useful for resellers who have their own websites or apps, and outsource the real editing service to Tucia.
Credits in your account will be deducted accordingly. If credits are insufficient, errors will be returned
Name | Type | Description |
---|---|---|
name |
string |
If blank, a random name will be assigned example: John's wedding |
instructions |
json |
It's allowed to send a long paragraph of text, but it's recommended to separate into short sentences and send in json format example: ["slim waist", "tan skin"] |
customer_id |
string |
If you are a reseller, you can specify your customer_id in your own application. Maximum 20 characters. example: 1234 |
images |
json |
Each element in the represents 1 image, containing 3 parameters:
example: [
|
{
"errors": [],
"data": {
"order_id": "UVWXYZ123",
"project_name": "John's wedding",
"customer_id": 1234,
"price": 3,
"status": "editing",
"ordered_at": "2017-12-02T16:00:00+04:00",
"estimated_delivery": "2017-12-03T12:00:00+04:00"
}
}
{
"errors": [
"insufficient balance: 2 credits",
"one file is not accessible from our server: http://abc.com/b.jpg"
]
}
Next: Cancel order