Download OpenAPI specification:Download
We respect HTTP standard and REST architecture.
Most of cases you will receive a success response contained in this table:
| HTTP code | Description |
|---|---|
| 102 | PENDING. The request is treated and takes some time. |
| 200 | OK. The request is treated with success. |
| 201 | Created. The request is treated with success and a content is created (e.g. for a POST request). |
| 204 | No Content. The request is treated with success but returns no content in the response. |
| 207 | Multi-Status. Returned by some bulk endpoints: the request is partially successful and the body details the outcome of every item. |
Please refer to the following table to identify your problem if you receive an HTTP error:
| HTTP code | Description |
|---|---|
| 400 | Bad request, in the response, you will see which field is missing or invalid. Generally, each object column, when specified, must contain a value and should not be left empty. |
| 401 | Unauthorized, check if you passed the Authorization Header. |
| 403 | Forbidden, you are authenticated but you are not allowed to access this resource or to perform this action. |
| 404 | Not found, the resource is missing (e.g. a user who has been deleted). |
| 405 | Method not allowed, the server knows the endpoint used but doesn't permit this method. |
| 409 | Conflict, the request conflicts with the current state of the resource (e.g. a resource with the same identifier already exists). |
| 429 | Too many requests, you exceeded the rate limit (see below). |
| 500 | Internal server error, bad news it seems we have a problem. |
| 502 / 503 | Bad gateway / Service unavailable, an internal service is temporarily unreachable, you can retry later. |
Errors are returned with a JSON body:
{
"code": 404,
"error": "Not Found",
"message": "Resource was not found"
}
The 'message' field is optional: it is present when the API can give a precise reason for the error.
If you have an unidentified response, don't hesitate to contact our support.
You are now able to request all of our endpoints.
Rate limiting is on account basis: all the tokens of the same account share the same quota. You can call up to 5 requests per second.
When you exceed this rate limit for any endpoint of our API, the API will return a HTTP 429 “Too Many Requests” response code, and the following error will be returned in the response body:
{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}
Every response carries the 'X-RateLimit-UserLimit', 'X-RateLimit-UserRemaining' and 'X-RateLimit-UserReset' headers, so you can throttle your calls before being rejected.
The Grand Shooting API supports two authentication methods depending on your use case:
This is the standard authentication method for direct API access, using a token generated from the Grand Shooting administration pages.
Include the token in the Authorization header, exactly as it was given to you:
Authorization: Bearer your_token_here
Example: curl -H "Authorization: Bearer your_token_here" https://api.grand-shooting.com/v3/production
This method is used for connector integrations that authenticate via OAuth flow.
Include the access token in the Authorization header:
Authorization: access_token your_oauth_access_token
Example: curl -H "Authorization: access_token ya29.a0AfH6SMC..." https://api.grand-shooting.com/v3/production
Note: Choose the authentication method that best fits your integration:
- Use Bearer Token for direct API integrations and applications
- Use OAuth Access Token for connector integrations that follow OAuth 2.0 flow
If you start coding with our API, you may be interested in having a first global overview of the main concepts behind Grand Shooting.
Note: The platform supports images and videos. This documentation is equally applicable to both and we may use indifferently the two words (images or videos). So, keep in mind that when we describe a feature, it is always applicable to both images and videos.
A production is a bunch of images that is processed according to a declared workflow. Every step of the workflow is called a bench.
A classic production is composed of 3 benches:
You can have 2 retouching benches within the same production. It can be useful for instance if you want a first stage to clean up images with basic operations then a second stage with more in-depth retouching.
Retouching is optional: you can create a production with no retouching bench. On the contrary Capture and Exports / Validation are mandatory.
Be careful: benches are created with the production, from the template. A production can be updated (
PUT /production/{bench_root_id}) but benches cannot be deleted through the API. If you delete a bench that contains files from the web application, the files will be immediately deleted, and you won’t have the possibility to recover them.
To distinguish the benches within a production, the API includes a parameter called benchsteptype which can take these values:
The last bench of a production ('benchsteptype' = 40) is the exports and validation bench: exports and validation happen on that single bench, not on two separate ones.
The way you interact with images inside this bench differs from the interactions within the first benches of the production: you load images to capture and retouching benches, but you just trigger exports to process retouched images. And the processed images are automatically dropped to the exports / validation bench, where they are submitted for approval, then validated or refused.
So, you never load images to the exports / validation bench: an upload on a bench with 'benchsteptype' = 40 is rejected with a HTTP 400.
Exports are triggered with:
POST https://api.grand-shooting.com/v3/production/{bench_root_id}/export
Be careful: don’t delete retouching benches if they already contain files. Otherwise you would not be able to trigger exports for this production anymore and you would have to start again with a new production.
Using the web application, you can create new productions from scratch then set up all the parameters by hand: the number of benches, user accesses on every bench, the settings for the export bench, and so on.
It doesn’t really make sense to give this level of precision at every production creation because the purpose of the API is to automate repetitive workflows.
That’s why you first create templates with predefined settings. Then, you instance new productions giving in parameters the Id of the template.
Templates can be managed from the web application, or through the API:
GET /production/template and POST /production/templateGET, PUT, PATCH, DELETE /production/template/{template_id}Photo shoot sessions can be differentiated thanks to shooting methods.
Basically, a shooting method represents a specific way to get pictures of products: it can be products worn by models or it can be still life. You may also use different shooting methods to distinguish photos produced with different machines or technologies.
Therefore, shooting methods give you full control on how you want to monitor the productions: they appear on almost all reports and you will be able to filter for the values they can take.
Note: if you have questions about the best shooting method values for your organization, feel free to ask the support team for advice.
Shooting methods are set up from the web application with admin credentials. From the API, you can list them with GET /shootingmethod.
It is one of the big features of Grand Shooting: every image or video can be linked to a catalog. Thus, you will be able to organize image production by product references.
There is only one catalog. But you can combine products from different brands within the same catalog. The attributes stored in Grand Shooting are quite classic:
Every item in the catalog is identified in Grand Shooting by another attribute called 'ref' (for product reference). This 'ref' attribute can be a unique id, but it is commonly generated from other attributes.
For example, in the ready to wear market we need to take pictures not only of all product models but also of all color declinations. Then the ref attribute will be constructed from the model reference attribute concatenated with the color attribute.
Example:
Model: SS18BOHEMIAN
Color: 110
Ref: SS18BOHEMIAN_110
Important: keep in mind that 'ref' values should be unique in the catalog and that they refer to the product that need to be taken in photo.
The 'EAN' attribute is useful if the samples do have barcodes. In the web application, typing the ref attribute of a product or scanning its barcode is strictly the same. That’s why 'EAN' values should also be unique.
Note: even if the attribute’s name is 'EAN', you don’t have to comply with 'EAN' standard (we don’t check the parity byte)
Note: a reference can carry several barcodes. 'ean' holds the main one, 'eans' the alternative ones, and 'eans_extended' lets you label each of them and flag a favorite. So you don't have to know in advance which sample will be shot.
From Grand Shooting’s web application, the guidelines define per product category how many images are attempted and what are the technical specifications of these images (in terms of size, resolution, ICC profile, …).
A shotlist is a named list of the catalog references that have to be shot. It carries a production date, a deadline, and a configuration restricting it to given shooting methods and exports. References are added to a shotlist explicitly, and each of them can override the views expected by the guidelines.
For every reference of the list, shotlists show the status of the existing images in your workflow and reveal alerts if an image does not comply with the guidelines. More generally shotlists can be seen as the cockpit where you can see the work in progress from the point of view of the catalog.
Shotlists are managed through these endpoints:
GET /shotlist and POST /shotlistGET, PUT, PATCH, DELETE /shotlist/{shotlist_id}GET /shotlist/{shotlist_id}/referencePUT, PATCH, DELETE /shotlist/{shotlist_id}/reference/{reference_id}This feature is useful especially for the ready to wear market.
Imagine a model wearing clothes: shoes, a pant, a shirt, a coat, … All these clothes make something up called a look.
In this case the looks are mostly composed before starting the photo shoot session. That’s why it makes sense to link images directly to the look and not to product references.
Be careful: the name of the looks have to be different from the names of product references in the catalog.
Looks are managed under the /style/look endpoints.
So, let’s start with the API. We will stay simple and create a basic production. To do this, simply send the following request:
POST https://api.grand-shooting.com/v3/production
With the body:
{
"smalltext": "My first production",
"startdate": "2017-03-27T07:00:00.000Z",
"enddate": "2017-03-27T16:00:00.000Z",
"timezone": "Europe/Paris",
"tzoffset": 60,
"shooting_method_id": 1,
"bench_template_id": 1
}
'smalltext', 'startdate' and 'shooting_method_id' are the only required parameters.
'bench_template_id' is optional but it is the most structuring one: it refers to the template that drives the whole workflow of the production (number of benches, accesses, export settings). It is the only parameter that cannot be changed once the production is created.
We set a smalltext “'My first production'” that will be viewable on the web application as the title of the production.
The 'startdate' parameter gives information about the day the first images shall be uploaded to this production. Usually it is the date of the photo shoot session. The time zone is explicitly set.
'enddate', 'timezone' and 'tzoffset' are optional. In this example the parameters are set to a capture session starting at 7.00 am and ending at 4.00 pm. If omitted, the timezone is set to "Europe/Paris" and 'enddate' is set to 'startdate' plus 8 hours.
The other parameters, 'shooting_method_id' included, can be changed afterwards with:
PUT https://api.grand-shooting.com/v3/production/{bench_root_id}
Now to list all the productions call this request:
GET /production
It will return an array with all the productions, like this one:
[
[
{
"smalltext": "My first production",
"startdate": "2017-03-27T07:00:00.000Z",
"enddate": null,
"timezone": "Europe/Paris",
"tzoffset": 60,
"shooting_method_id": 1,
"bench_id": 1,
"parent_id": null,
"root_id": 1,
"benchsteptype": 10
},
{
"smalltext": "My first production (Retouching)",
"startdate": "2017-03-27T07:00:00.000Z",
"enddate": null,
"timezone": "Europe/Paris",
"tzoffset": 60,
"shooting_method_id": 1,
"bench_id": 2,
"parent_id": 1,
"root_id": 1,
"benchsteptype": 20
},
{
"smalltext": "My first production (Export)",
"startdate": "2017-03-27T07:00:00.000Z",
"enddate": null,
"timezone": "Europe/Paris",
"tzoffset": 60,
"shooting_method_id": 1,
"bench_id": 3,
"parent_id": 2,
"root_id": 1,
"benchsteptype": 40
}
]
]
You can see that the previously created production contains 3 benches: Capture ('benchsteptype' = 10), Retouching ('benchsteptype' = 20) and exports / validation ('benchsteptype' = 40).
Benches are chained:
Note : By convention, the 'smalltext' attribute of the first bench of a production is repeated for all benches ("My first production" in this example). Then, the specific name of a bench is set between parenthesis ("Retouching" and "Export" in this example). The first bench of a production can't have any specific name as it is always set as "Live".
If you want to list all productions but not all benches of production, you can filter the benches with null as parent_id.
If you need the details about a specific bench, you can call this endpoint:
GET /production/{bench_root_id}/bench/{bench_id}
You will get just the bench:
{
"smalltext": "My first production (Export)",
"startdate": "2017-03-27T07:00:00.000Z",
"enddate": null,
"timezone": "Europe/Paris",
"tzoffset": 60,
"shooting_method_id": 1,
"bench_id": 3,
"parent_id": 2,
"root_id": 1,
"benchsteptype": 40
}
Once you created a production and you know there are some pictures, you may want to list them. Super easy, just send this request:
GET https://api.grand-shooting.com/v3/picture?bench_id=3
In this example we list images from the third bench. The body of the response is an array of picture objects like this one:
{
"picture_id": 3,
"bench_id": 3,
"bench_root_id": 1,
"ref": "3596654282833",
"path": "4c76bb10-d028-4988-b008-01a97c38a232/3596654282833_3.jpg",
"smalltext": "3596654282833_3.jpg",
"picturestatus": 50,
"filesize": 503637,
"reference_id": 1,
"child_ids": [],
"parent_id": 2
}
Basically you can consider that a bench is a secured folder in which files are stored. Files can be organized in subfolders and the path attribute indicates the exact location of a file inside the bench.
So, there might be 2 images with the same filename "3596654282833_3.jpg" in this bench. But there can be just one image with this path "4c76bb10-d028-4988-b008-01a97c38a232/3596654282833_3.jpg".
'picturestatus' attribute refers to the status of an image (or video) inside a production. It can take one of these values :
| Picture status | Description |
|---|---|
| 1 | IGNORED, Image ignored, kept in the production but out of the workflow. |
| 5 | RESHOOT, Image to be shot again. |
| 10 | NOT SELECTED, Image in the Live with default status |
| 30 | SELECTED, Image in the Live selected for retouching |
| 31 | REFUSED, Image refused, need some more work |
| 35 | REFUSED, Image refused by the retouchers |
| 40 | FOR APPROVAL, Image submitted for approval |
| 50 | VALIDATED, Image validated |
| 51 | READY TO BROADCAST, Image ready to be transferred to the DAM (manual broadcast) |
| 52 | ERROR, Error during the transfer to the DAM |
| 55 | RELEASED, Image transferred to the DAM |
| 80 | ARCHIVED, Image archived |
Heads up ! : the status of a picture and the type of its bench are correlated. For instance a bench that corresponds to a Live ('benchsteptype' = 10) should only have pictures with status 5, 10 or 30. And a bench that corresponds to the exports / validation step should only have pictures with status 40 and above, except for the refused image ('picturestatus' = 31).
Note : Even if an image is not selected (in the Live bench), it can be retouched in the retouching benches then exported for approval. And of course a refused image can be retouched again and exported again for approval.
If Grand Shooting is integrated with a PIM, a DAM or Amazon S3, images will automatically take these status after having been transferred. In most cases, only validated images are transferred.
What is the difference between the 2 REFUSED status ? The common way to refuse an image is in the export bench : the status value of the image is 31. But an image can also be refused by a retoucher in the bench for retouching : in this case the status value is 35.
We learned how to list the productions and their benches. Now let's try to upload images.
POST https://api.grand-shooting.com/v3/production/{bench_root_id}/bench/{bench_id}/upload
With a 'multipart/form-data' body:
| Field | Description |
|---|---|
| file | Required. The image or video file. Repeat the field to send several files within the same request. |
| path | Subfolder of the bench the file is stored in. Defaults to '/'. |
| wait | Wait for the end of the upload before returning. Defaults to true. |
| transfer_id | Id of a transfer the uploaded files are linked to. Only for plugins purpose. |
If the files are already available online, you can also let Grand Shooting download them instead of sending their content:
POST https://api.grand-shooting.com/v3/production/{bench_root_id}/bench/{bench_id}/upload/url
The 'urls' array of the body accepts up to 200 entries, each of them with a 'url' and a 'filename', and optionally a 'subpath', a 'ref', a 'view_type_code' and a 'parent_id'. The response keeps the order of that array and reports the status of every entry.
Both endpoints reject uploads on an exports / validation bench ('benchsteptype' = 40) and on an archived production, with a HTTP 400.
As you can see, it is very simple to integrate our API and manage image productions from your own applications: with few lines of code, you instantiate new productions then load / download images to / from the benches.
Keep in mind that the way you manage images within benches for capture and retouching differs from the interactions you can have with images within benches for export and validation.
Webhook is a pattern that allows external systems to be notified of events occurring in a SaaS platform.
You can subscribe urls, from the administration console (Manage team > API > WebHooks, account administrators) or through the API, that will be notified of picture and reference events. Every subscription associates one url (address) with one topic:
| Topic | Description |
|---|---|
| pictures/create | picture creation |
| pictures/update | picture modification (status, tags, new version, reference, view type code...) |
| pictures/delete | picture deletion |
| references/create | reference creation |
| references/update | reference modification |
| references/delete | reference deletion |
Topics are generic: there is no "picture validated" topic. To react to validated pictures, subscribe to pictures/update and filter on picturestatus in the message. An update may also be sent when a picture or a reference is saved without any visible change.
You can use the same url for several topics: create one subscription per topic.
From the API, subscriptions are managed with GET /webhook, POST /webhook, PUT /webhook/{webhook_id} and DELETE /webhook/{webhook_id}, with the body {"address": "...", "topic": "..."}. A subscription belongs to the account of the token.
Be careful: the address is stored in lower case. If your url contains a token or a case-sensitive path, choose it in lower case.
A new subscription receives its first events within a minute (the list of subscriptions is cached for 30 seconds).
When a picture or a reference is created, modified or deleted, the event is stored in a queue. Every 5 seconds, the events are read from the queue and grouped by account, topic and url: several events on the same object and the same topic within these 5 seconds produce a single entry. Each group is sent to the url in a "POST" http call with a JSON body (Content-Type: application/json):
{
"account_id": 10229487,
"topic": "pictures/update",
"type": "picture",
"ids": [
175,
176
],
"picture_id": [ //Deprecated
175,
176
],
"data": {
"175": {
"picture_id": 175,
"bench_id": 19,
"bench_root_id": 19,
...
},
"176": {
"picture_id": 176,
"bench_id": 19,
"bench_root_id": 19,
...
}
}
}
type is picture or reference, ids lists the objects of the message.data contains the full object of every id, as returned by GET /picture/{picture_id} or GET /reference/{reference_id}. It is read when the message is built, so it can be more recent than the event. For a deleted object, or an object that could not be read, the value is null.account_id is an account you expect, and for sensitive actions read the object again through the API from ids instead of trusting data.picture_id / reference_id array fields are deprecated and will be removed in the next major version. Use the ids field instead.GET /picture?date_mod=gte:...) to recover dropped messages.Load the settings of an account. By default the authenticated account is targeted; to target another account you have access to, pass its id via the "account_id" request header or the "target_account_id" query parameter. Reading another account requires an access on it (a delegation, or a bench/asset-library share). These settings were historically stored as "prefs"; that name is deprecated in favor of "settings".
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
{- "columnPref": { },
- "catalog_extra_cols": [ ],
- "catalog_ean_extra_cols": [ ],
- "catalog_logistic_extra_cols": [ ]
}Add or modify the settings of an account. By default the authenticated account is targeted; to target another account, pass its id via the "account_id" request header or the "target_account_id" query parameter. Modifying another account requires an admin delegation (delegationtype 30) on it. The payload is DEEP-merged into the existing settings: untouched keys (including sibling keys of a nested object) are preserved. Arrays are merged by appending the new items to the existing ones (deduplicated by deep equality), so inserting an item keeps the others. Send a field as "null" to delete it (at any depth); to replace or empty an array, delete it first. Limits: keys ≤ 100 chars, string values ≤ 10000 chars, ≤ 1000 keys per object, ≤ 1000 items per array, nesting depth ≤ 20. These settings were historically stored as "prefs"; that name is deprecated in favor of "settings".
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
| maxEanLength | integer [ 0 .. 99 ] Maximum EAN length taken into account on catalog import / EAN search. |
Array of objects (catalog_extra_cols) Extra columns for references. | |
Array of objects (catalog_ean_extra_cols) Extra columns for EANs. | |
Array of objects (catalog_logistic_extra_cols) Extra columns for logistic entries. | |
| columnPref | object (columnPref) Per-screen column display preferences. |
{- "maxEanLength": 99,
- "catalog_extra_cols": [
- {
- "key": "string",
- "label": "string",
- "type": "string"
}
], - "catalog_ean_extra_cols": [
- {
- "key": "string",
- "label": "string",
- "type": "string"
}
], - "catalog_logistic_extra_cols": [
- {
- "key": "string",
- "label": "string",
- "type": "string"
}
], - "columnPref": { }
}{- "columnPref": { },
- "catalog_extra_cols": [ ],
- "catalog_ean_extra_cols": [ ],
- "catalog_logistic_extra_cols": [ ]
}Create an API token for the authenticated user's account.
The access scope defines the token's permissions:
api : full access (read and write).api_ro : read-only. Only read requests (GET) are allowed; any write attempt
(POST/PUT/PATCH/DELETE) is rejected by the API with a 401 status.The returned token is only displayed once, at creation time. Store it securely.
| access | string (Model94) Default: "api" Enum: "api" "api_ro" Token scope: 'api' (full access) or 'api_ro' (read-only). Defaults to 'api_ro'. |
| comment | string <= 255 characters Optional label to identify the token |
{- "access": "api",
- "comment": "string"
}{- "token": "string",
- "access": "string",
- "account_id": 0,
- "user_uid": 0
}Return an array of broadcasts with a pagination.
You can set the offset of pagination with the header 'offset'. Response headers:
[- {
- "broadcast_id": 2,
- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *"
}
]You can create only 10 broadcasts
| name | string |
| type required | string (Model84) Enum: "FTP" "FTPS" "SFTP" "WEBDAV" |
| host required | string Host. Can be a domain name or an IP address. Can be followed by a port number. |
| user required | string User |
| password required | string Password |
| use_full_path | boolean If true, the full path will be used for the file name |
| deposit_folder | string The folder where the files will be deposited |
| date_from | string <date> Media will be broadcasted from this date |
| double_validation | boolean If true, media will be broadcasted after a second validation |
| cron required | string^((((\d+,)+\d+|(\d+(\/|-|#)\d+)|\d+L?|\*(\/\d... Cron expression with 6 fields for the broadcast |
| _extra | object (_extra) Reserved for internal use |
{- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "password": "my_very_serure_password",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *",
- "_extra": { }
}{- "broadcast_id": 2,
- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *"
}Get specific broadcast.
| broadcast_id required | number >= 1 ID of broadcast |
{- "broadcast_id": 2,
- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *"
}Modify all fields of a broadcast.
| broadcast_id required | number >= 1 ID of broadcast |
| name | string |
| type required | string (Model151) Enum: "FTP" "FTPS" "SFTP" "WEBDAV" |
| host required | string Host. Can be a domain name or an IP address. Can be followed by a port number. |
| user required | string User |
| password required | string Password |
| use_full_path | boolean If true, the full path will be used for the file name |
| deposit_folder | string The folder where the files will be deposited |
| date_from | string <date> Media will be broadcasted from this date |
| double_validation | boolean If true, media will be broadcasted after a second validation |
| cron required | string^((((\d+,)+\d+|(\d+(\/|-|#)\d+)|\d+L?|\*(\/\d... Cron expression with 6 fields for the broadcast |
| _extra | object (_extra) Reserved for internal use |
{- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "password": "my_very_serure_password",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *",
- "_extra": { }
}{- "broadcast_id": 2,
- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *"
}Update specifics fields of a broadcast.
| broadcast_id required | number >= 1 ID of broadcast |
| name | string |
| type | string (Model177) Enum: "FTP" "FTPS" "SFTP" "WEBDAV" |
| host | string Host. Can be a domain name or an IP address. Can be followed by a port number. |
| user | string User |
| password | string Password |
| use_full_path | boolean If true, the full path will be used for the file name |
| deposit_folder | string The folder where the files will be deposited |
| date_from | string <date> Media will be broadcasted from this date |
| double_validation | boolean If true, media will be broadcasted after a second validation |
| cron | string^((((\d+,)+\d+|(\d+(\/|-|#)\d+)|\d+L?|\*(\/\d... Cron expression with 6 fields for the broadcast |
| _extra | object (_extra) Reserved for internal use |
{- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "password": "my_very_serure_password",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *",
- "_extra": { }
}{- "broadcast_id": 2,
- "name": "FTP interne",
- "type": "FTP",
- "host": "ftp.mycompany.com:22",
- "user": "Jean Blaguin",
- "use_full_path": true,
- "deposit_folder": "/root/mycollection/",
- "date_from": "2017-01-01T00:00:00.000Z",
- "double_validation": true,
- "cron": "30 12,20 * * * *"
}Return an array of export with a pagination.
You can set the offset of pagination with the header 'offset'. Response headers:
| broadcast_id required | number >= 1 ID of broadcast |
[- {
- "export_id": 2,
- "active": "true"
}
]Update specifics fields of an export for a broadcast
| broadcast_id required | number >= 1 ID of broadcast |
| export_id required | number >= 1 ID of export |
| active required | boolean If true, the broadcast is active for this export |
{- "active": "true"
}{- "export_id": 2,
- "active": "true"
}History of the notifications delivered on the web application and of the mails sent by Grand Shooting (exports, shares, invitations, GS Transfer...), most recent first. History is kept 3 months. Dates without timezone, and dates without time, are read in the server timezone (Europe/Paris). A date without time covers the whole day: date_to=2026-11-17 includes the 17th. Return an array of notifications with a pagination of 100. You can set the offset of pagination with the header 'offset'. Response headers:
| date_from | string |
| date_to | string |
| bench_root_id | integer >= 1 only notifications of this production |
| bench_id | integer >= 1 only notifications of this production step |
| user_uid | integer >= 1 only deliveries to this user |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
| offset | number >= 0 Default: 0 offset for pagination |
[- {
- "type": "photo_available_40",
- "object": "pictures to validate",
- "date_sent": "2026-11-17T15:36:12.000Z",
- "nb_pictures": 37,
- "bench_root_id": 9979,
- "bench_id": 9981,
- "recipients": {
- "web": [
- {
- "user_uid": 607,
- "email": "john@doe.com",
- "firstname": "John",
- "lastname": "Doe",
- "date_sent": "2026-11-17T15:36:12.000Z"
}
], - "mail": [
- {
- "user_uid": 607,
- "email": "john@doe.com",
- "firstname": "John",
- "lastname": "Doe",
- "date_sent": "2026-11-17T15:36:14.000Z"
}
]
}
}
]Return an array of pictures with a pagination of 100.
You can filter by giving query parameters with the following logic :
You can set the offset of pagination with the header 'offset'. Response headers:
There are limitations as you can't go beyond 10000 using the offset header. If you need to retreive more data, you can use the search parameter with "gte:last value retreived" in combination with the sort_by parameter.
Example:
| picture_id | string id of the picture |
| bench_id | string id of the bench the picture belongs to |
| bench_root_id | string id of the bench the picture belongs to |
| benchsteptype | string workflow step of production |
| benchstatus | string status of production 10 : Active 20 : In progress 30 : Finished 35 : Archiving 40 : Archived 50 : Flushed |
| ref | string ref extracted from picture |
| reference_ref | string unified ref: catalog_ref if linked to catalog, else merch_ref, else ref extracted from picture |
| path | string path of the picture in the repository |
| file_path | string path of the picture |
| smalltext | string picture filename |
| picturestatus | string Worlflow step of the picture.
|
| filesize | string filesize |
| width | string width |
| height | string height |
| reference_id | string reference_id |
| parent_id | string parent picture |
| icc_profile | string icc profile of image |
| thumbnail | string url of thumbnail |
| hash | string hash computed from image content |
| file_id | string identifier of file content |
| view_type_code | string view type code |
| transfer_date | string transfert date of the picture (in Grand Shooting) |
| date_cre | string creation date of the picture (in Grand Shooting) |
| date_mod | string last modification date of the picture (in Grand Shooting) |
| validation_date | string Validation date |
| frames | string all framings, one per look reference (plus any legacy picture-level frame) |
| export | string name of the export |
| exportpicturestatus | string status of export |
| shootingmethod | string name of the shooting method |
| look_id | string ID of look |
| alerts | string alerts |
| deleted | string Indicate if the picture is deleted or active. If null, consider the picture active |
| sort_by | string Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending. |
| taginfo.tags | string tags |
| taginfo.label | string label |
| taginfo.rating | string rating |
| reference_ids | string reference_ids |
| refs | string refs |
| child_ids | string child_ids |
| search | string search string |
| search_wildcard | boolean Default: true activates wildcard search |
| active_bench | boolean opt-in: restrict to pictures of active (non-archived) bench productions only, regardless of phase. Combine with benchsteptype to scope to a given phase (e.g. benchsteptype=40 for validation). |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
| offset | number [ 0 .. 10000 ] offset for pagination, you can't go beyond 10000 |
[- {
- "picture_id": 1,
- "bench_id": 1,
- "bench_root_id": 1,
- "benchsteptype": 10,
- "benchstatus": 10,
- "ref": "string",
- "reference_ref": "string",
- "path": "string",
- "file_path": "string",
- "smalltext": "string",
- "picturestatus": 1,
- "filesize": 0,
- "width": 0,
- "height": 0,
- "reference_id": "string",
- "reference_ids": [
- 1
], - "refs": [
- "string"
], - "looks": [
- {
- "reference_id": "string",
- "ref": "string",
- "useforref": true,
- "main": true
}
], - "parent_id": 0,
- "child_ids": [
- 1
], - "icc_profile": "string",
- "thumbnail": "string",
- "hash": "string",
- "file_id": "string",
- "view_type_code": "string",
- "transfer_date": "2019-08-24",
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "validation_date": "2019-08-24",
- "frame": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}, - "frames": [
- {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}
], - "export": "string",
- "exportpicturestatus": 0,
- "taginfo": { },
- "shootingmethod": "string",
- "look_id": 0,
- "alerts": [
- "missing_icc_profile"
], - "deleted": true,
- "meta": {
- "pages_count": 0,
- "pages": [
- {
- "count": 0,
- "width": 0,
- "height": 0
}
]
}
}
]You can filter by giving query parameters with the same logic as the GET /picture endpoint. What is different is that you can group by a field using the group_by_field parameter.
Pagination logic is the same as the GET /picture endpoint except that you can't use the sample_size header to set the size of the aggregation samples (number of items in each aggregation).
You can sort the aggregation results using the sort_by parameter. Supported fields include date_cre, reference_ref, and other fields that can be used for grouping. Add a '+'/'-' character before the field name to specify ascending or descending order (e.g., sort_by=+reference_ref or sort_by=-date_cre).
Response headers:
| picture_id | string id of the picture |
| bench_id | string id of the bench the picture belongs to |
| bench_root_id | string id of the bench the picture belongs to |
| benchsteptype | string workflow step of production |
| benchstatus | string status of production 10 : Active 20 : In progress 30 : Finished 35 : Archiving 40 : Archived 50 : Flushed |
| ref | string ref extracted from picture |
| reference_ref | string unified ref: catalog_ref if linked to catalog, else merch_ref, else ref extracted from picture |
| path | string path of the picture in the repository |
| file_path | string path of the picture |
| smalltext | string picture filename |
| picturestatus | string Worlflow step of the picture.
|
| filesize | string filesize |
| width | string width |
| height | string height |
| reference_id | string reference_id |
| parent_id | string parent picture |
| icc_profile | string icc profile of image |
| thumbnail | string url of thumbnail |
| hash | string hash computed from image content |
| file_id | string identifier of file content |
| view_type_code | string view type code |
| transfer_date | string transfert date of the picture (in Grand Shooting) |
| date_cre | string creation date of the picture (in Grand Shooting) |
| date_mod | string last modification date of the picture (in Grand Shooting) |
| validation_date | string Validation date |
| frames | string all framings, one per look reference (plus any legacy picture-level frame) |
| export | string name of the export |
| exportpicturestatus | string status of export |
| shootingmethod | string name of the shooting method |
| look_id | string ID of look |
| alerts | string alerts |
| deleted | string Indicate if the picture is deleted or active. If null, consider the picture active |
| sort_by | string Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending. |
| taginfo.tags | string tags |
| taginfo.label | string label |
| taginfo.rating | string rating |
| reference_ids | string reference_ids |
| refs | string refs |
| child_ids | string child_ids |
| search | string search string |
| search_wildcard | boolean Default: true activates wildcard search |
| active_bench | boolean opt-in: restrict to pictures of active (non-archived) bench productions only, regardless of phase. Combine with benchsteptype to scope to a given phase (e.g. benchsteptype=40 for validation). |
| group_by_field required | string Enum: "picture_id" "bench_id" "bench_root_id" "benchsteptype" "benchstatus" "ref" "reference_ref" "path" "file_path" "smalltext" "picturestatus" "filesize" "width" "height" "reference_id" "reference_ids" "refs" "looks" "parent_id" "child_ids" "icc_profile" "hash" "file_id" "view_type_code" "transfer_date" "date_cre" "date_mod" "validation_date" "export" "shootingmethod" "look_id" "deleted" "taginfo.label" "taginfo.rating" field to group with |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
| size | number [ 0 .. 100 ] size for pagination |
| offset | number [ 0 .. 10000 ] offset for pagination |
| sample_size | number [ 1 .. 5 ] size for aggregation samples |
[- {
- "key": "string",
- "nb": 0,
- "pictures": [
- "string"
]
}
]Load a picture by its id
| picture_id required | number the id for the picture item |
{- "picture_id": 1023,
- "bench_id": 2,
- "bench_root_id": 1,
- "benchsteptype": 20,
- "benchstatus": 10,
- "ref": "FW19_ALDA_PINK",
- "path": "Deprecated field, instead use file_path. f33cdd25-b8b0-48dd-abac-cf8a29529f89/JPG/FW19_ALDA_PINK-1.jpg",
- "file_path": "JPG/FW19_ALDA_PINK-1.jpg",
- "smalltext": "FW19_ALDA_PINK_1.jpg",
- "picturestatus": 30,
- "filesize": 520000,
- "reference_id": 10,
- "reference_ids": [
- 12,
- 140
], - "refs": [
- "REFA_SHOOES",
- "REFB_HAT"
], - "parent_id": 151,
- "child_ids": [
- 2034,
- 1034
], - "export": "WEB",
- "frame": {
- "x1": 1000,
- "y1": 1000,
- "x2": 2000,
- "y2": 4000
}, - "icc_profile": "sRGB IEC61966-2.1",
- "hash": "5ef7fcb04a5c2e90a0f490e92a3260c50a259a5c",
- "shootingmethod": "Packshot",
- "look_id": 1,
- "alerts": [
- "alertNoICCProfile",
- "warningUnexpectedView"
]
}Delete a picture from Grand Shooting (logicaly, file is prefixed with __TRASH and invisible in Grand Shooting). You can't delete a picture in validation stage (benchsteptype 40), you have to delete it through the export process.
| picture_id required | number the id for the picture item |
"string"This endpoint is similar to the POST /picture/{picture_id}/picturestatus endpoint, but it allows you to set status for multiple pictures at once.
Change pictures status in the production workflow. Depending on the woflow step (benchsteptype of the picture's bench), available status for pictures are different: * Live: 5, 10, 30 * Phase 1: 30, 35 * Phase 2: 30, 35 * Valdation: 31, 40, 50, 51, 52, 55, 80
| picture_id | Array of numbers (picture_id) <= 50 items |
| picturestatus required | number The new picture status |
| comment | string Add comment with the status |
| is_refusal_reason | boolean Only with picturestatus 31: the comment is the refusal reason picked in the production rejection options, not a free comment |
{- "picture_id": [
- 0
], - "picturestatus": 0,
- "comment": "string",
- "is_refusal_reason": true
}"string"Get picture history. Pass scope=production to widen the result to every picture sharing the same family_id across the whole production, instead of just this picture's own version chain. Export pictures (benchsteptype 40) are only returned when the requested picture is itself an export, and only those sharing its export_id: sibling exports of other export configurations are never returned.
| picture_id required | number The id of the picture |
[- {
- "picture_id": 1,
- "bench_id": 1,
- "bench_root_id": 1,
- "benchsteptype": 10,
- "benchstatus": 10,
- "ref": "string",
- "reference_ref": "string",
- "path": "string",
- "file_path": "string",
- "smalltext": "string",
- "picturestatus": 1,
- "filesize": 0,
- "width": 0,
- "height": 0,
- "reference_id": "string",
- "reference_ids": [
- 1
], - "refs": [
- "string"
], - "looks": [
- {
- "reference_id": "string",
- "ref": "string",
- "useforref": true,
- "main": true
}
], - "parent_id": 0,
- "child_ids": [
- 1
], - "icc_profile": "string",
- "thumbnail": "string",
- "hash": "string",
- "file_id": "string",
- "view_type_code": "string",
- "transfer_date": "2019-08-24",
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "validation_date": "2019-08-24",
- "frame": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}, - "frames": [
- {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}
], - "export": "string",
- "exportpicturestatus": 0,
- "taginfo": { },
- "shootingmethod": "string",
- "look_id": 0,
- "alerts": [
- "missing_icc_profile"
], - "deleted": true,
- "meta": {
- "pages_count": 0,
- "pages": [
- {
- "count": 0,
- "width": 0,
- "height": 0
}
]
}
}
]Get picture comments
| picture_id required | number the id for the picture item |
[- {
- "type": "Technical",
- "picture_id": 1234,
- "source_picture_id": 1233,
- "login": "johnDoe",
- "firstname": "John",
- "lastname": "Doe",
- "date": "2017-01-01T00:00:00.000Z",
- "benchsteptype": 20,
- "comment": "Super commentaire !",
- "access": "normal",
- "versionIndex": 1
}
]You can edit a picture only if an edit bench exist.
| picture_ids required | Array of numbers (picture_ids) The id of pictures to edit |
| transfer_id required | number The id of FTP transfer |
| get_path | string Set path to get picture from the FTP |
| put_path | string Set path to put picture to FTP |
| provision_code | string Set the edit code |
| account_id | number Account id of picture to retouch |
{- "picture_ids": [
- 0
], - "transfer_id": 0,
- "get_path": "string",
- "put_path": "string",
- "provision_code": "string",
- "account_id": 0
}"string"Tag the picture as vedette and remove this tag for all other picture of product.
| picture_id required | number the id for the picture item |
| product_ref required | string Product ref of reference |
| bench_id | number Bench ID of picture |
| account_id_part | number Account id of picture |
{- "product_ref": "string",
- "bench_id": 0,
- "account_id_part": 0
}[- "string"
]Not available for benchsteptype 40
| picture_id required | number the id for the picture item |
| smalltext required | string The path of picture |
| force | boolean The path of picture |
{- "smalltext": "string",
- "force": true
}"string"Build a public url for the picture that won't need an auth token. The link is only available for a certain time (max 1 week). When the link is used, you can optinally trigger a picturestatus change and comment on the picture. (The trigger will be run every time the link is used).
| picture_id required | number the id for the picture item |
| picturestatus | number picturestatus to apply on picture when the link is used |
| comment | string comment to add to picture when the link is used |
| validity | number <= 604800 Default: 3600 Validity of the link in seconds |
{- "picturestatus": 0,
- "comment": "string",
- "validity": 3600
}"string"Link references to a picture
| picture_id required | number the id for the picture item |
Array of objects (references) |
{- "references": [
- {
- "ref": "string",
- "use_for_ref": true
}
]
}"string"Change picture status in the production workflow.
Depending on the woflow step (benchsteptype of the picture's bench), available status for pictures are different: * Live: 5, 10, 30 * Phase 1: 30, 35 * Phase 2: 30, 35 * Valdation: 31, 40, 50, 51, 52, 55, 80
| picture_id required | number The id for the picture item |
| picturestatus required | number The new picture status |
| comment | string Add comment with the status |
| is_refusal_reason | boolean Only with picturestatus 31: the comment is the refusal reason picked in the production rejection options, not a free comment |
{- "picturestatus": 0,
- "comment": "string",
- "is_refusal_reason": true
}"string"You can edit a picture only if an edit bench exist.
| picture_id required | number The id for the picture item |
| transfer_id required | number The id of FTP transfer |
| get_path | string Set path to get picture from the FTP |
| put_path | string Set path to put picture to FTP |
| provision_code | string Set the edit code |
| account_id | number Account id of picture to retouch |
{- "transfer_id": 0,
- "get_path": "string",
- "put_path": "string",
- "provision_code": "string",
- "account_id": 0
}"string"Restore the content of a previous version of a picture (as listed by GET /picture/{picture_id}/history) onto the current picture. The version to restore must be in the picture's history and share the same bench_id. Only available for pictures on the live, phase 1 or phase 2 steps (benchsteptype 10, 20 or 30).
| picture_id required | number the id of the picture to restore |
| restore_picture_id required | number the id of the history version to restore, must be in the picture's history and share the same bench_id |
{- "picture_id": 1023,
- "bench_id": 2,
- "bench_root_id": 1,
- "benchsteptype": 20,
- "benchstatus": 10,
- "ref": "FW19_ALDA_PINK",
- "path": "Deprecated field, instead use file_path. f33cdd25-b8b0-48dd-abac-cf8a29529f89/JPG/FW19_ALDA_PINK-1.jpg",
- "file_path": "JPG/FW19_ALDA_PINK-1.jpg",
- "smalltext": "FW19_ALDA_PINK_1.jpg",
- "picturestatus": 30,
- "filesize": 520000,
- "reference_id": 10,
- "reference_ids": [
- 12,
- 140
], - "refs": [
- "REFA_SHOOES",
- "REFB_HAT"
], - "parent_id": 151,
- "child_ids": [
- 2034,
- 1034
], - "export": "WEB",
- "frame": {
- "x1": 1000,
- "y1": 1000,
- "x2": 2000,
- "y2": 4000
}, - "icc_profile": "sRGB IEC61966-2.1",
- "hash": "5ef7fcb04a5c2e90a0f490e92a3260c50a259a5c",
- "shootingmethod": "Packshot",
- "look_id": 1,
- "alerts": [
- "alertNoICCProfile",
- "warningUnexpectedView"
]
}Get a frame on the image for custom processing (only for images, not yet for videos)
| picture_id required | number the id for the picture item |
| format_id required | number the id for the format item |
| crop | string Default: "NONE" Enum: "NONE" "EYE" "NOSE" Crop type |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
{- "x1": 500,
- "y1": 500,
- "x2": 1500,
- "y2": 1000,
- "z": -0.32251074646782035,
- "zp": {
- "x": -276.4505420512299,
- "y": 300.5206963482769
}, - "smalltext": "Zalando"
}Set a frame on the image for custom processing (only for images, not yet for videos). 403 for users with the download role on the account.
| picture_id required | number the id for the picture item |
| x1 required | number start x pixel |
| y1 required | number start y pixel |
| x2 required | number end x pixel |
| y2 required | number end y pixel |
| z | number rotation degree |
object (zp) Vector of translation | |
| smalltext | string Optional name for the frame |
| index | integer >= 0 Stable per-frame index (the N in framing{N}) identifying a free frame independent of look references |
| reference_id | string |
| ref | string Optional look reference (fallback key when reference_id is unknown) |
{- "x1": 500,
- "y1": 500,
- "x2": 1500,
- "y2": 1000,
- "z": -0.32251074646782035,
- "zp": {
- "x": -276.4505420512299,
- "y": 300.5206963482769
}, - "smalltext": "Zalando"
}"string"Delete a frame of the picture. 403 for users with the download role on the account.
| picture_id required | number the id for the picture item |
| reference_id | number >= 1 only delete the frame of this look reference |
| ref | string only delete the frame of this look reference (fallback key) |
| index | integer >= 0 only delete the free frame with this index (the N in framing{N}) |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
"string"format_id can be an explicit picture_format id, or "auto" to resolve the expected format via the picture specification, before computing and persisting the frame as the picture's free frame. 403 for users with the download role on the account.
| picture_id required | number the id for the picture item |
| format_id required | number |
| crop | string (Model171) Default: "NONE" Enum: "NONE" "EYE" "NOSE" Crop type |
{- "format_id": 0,
- "crop": "NONE"
}{- "x1": 500,
- "y1": 500,
- "x2": 1500,
- "y2": 1000,
- "z": -0.32251074646782035,
- "zp": {
- "x": -276.4505420512299,
- "y": 300.5206963482769
}, - "smalltext": "Zalando"
}List picture tags.
Tagging information are extracted from picture metadata.
Color label and ratings are commonly used tagging information used in photo edition software like Photoshop, Capture One and Lightroom.
Other metadata are extracted from deep leaning categorisation models
| picture_id required | number the id for the picture item |
{- "rating": 2,
- "label": "red",
- "tags": {
- "MODEL": true,
- "PACKSHOT": false,
- "RECO": true
}
}Modify or add tagging information to pictures.
You can override color label or rating defined in picture EXIF metadata.
Picture's file internal EXIF metadata is not modified. New tag information will be available in Grand Shooting production filters
| picture_id required | number the id for the picture item |
| rating | number [ 0 .. 5 ] rating of picture, between 0 and 5 |
| label | string (label) Enum: "transparent" "white" "yellow" "orange" "red" "pink" "purple" "blue" "green" color tag of picture |
| tags | object (Picture_tag) Meta tag of picture |
{- "rating": 2,
- "label": "red",
- "tags": {
- "MODEL": true,
- "PACKSHOT": false,
- "RECO": true
}
}{- "rating": 2,
- "label": "red",
- "tags": {
- "MODEL": true,
- "PACKSHOT": false,
- "RECO": true
}
}This endpoint is similar to the PUT /picture/{picture_id}/tag endpoint, but it allows you to set tags for multiple pictures at once.
Modify or add tagging information to pictures.
You can override color label or rating defined in picture EXIF metadata.
Picture's file internal EXIF metadata is not modified. New tag information will be available in Grand Shooting production filters
| picture_id | Array of numbers (picture_id) <= 50 items |
object (Picture_tags) |
{- "picture_id": [
- 0
], - "tags": {
- "rating": 2,
- "label": "red",
- "tags": {
- "MODEL": true,
- "PACKSHOT": false,
- "RECO": true
}
}
}{- "rating": 2,
- "label": "red",
- "tags": {
- "MODEL": true,
- "PACKSHOT": false,
- "RECO": true
}
}Only needed for plugins whose image_process.async_completion config is true: they download then upload pictures to another environment and cannot report success/failure synchronously.
| process_id required | string process_id given to the plugin when the transfer was sent |
| status required | string (Model120) Enum: "OK" "KO" Final status of the transfer |
| error | string Error detail when status is KO |
{- "status": "OK",
- "error": "string"
}"string"Retrieves a list of productions (benches grouped by production). By default, only active productions are included (archived=false). To retrieve all productions including archived ones, use the query parameter ?archived=true.
Pagination, sorting and filtering follow the shared list contract:
| smalltext | string Bench label |
| startdate | string Start date |
| enddate | string End date |
| timezone | string Timezone |
| tzoffset | string Timezone offset |
| shooting_method_id | string Shooting method ID |
| bench_id | string Bench ID |
| parent_id | string Parent ID |
| root_id | string Root ID |
| ext_lib_id | string Repo ID |
| meta_export_info | string |
| briefing | string Url of a briefing giving information on production procedures |
| location | string |
| benchsteptype | string Worlflow step for the bench. 10 : Live 20 : 1rst postprod step 30 : 2nd postprod step 40 : export step |
| benchaccess | string User access for bench |
| benchstatus | string Status of the bench. 10 : Active 20 : In progress 30 : Finished 35 : Archiving 40 : Archived 50 : Flushed |
| info | string Free information stored with production |
| info_model | string Description of what that can be stored in "info" field |
| step_label | string Label of step |
| archived | string Indicates if bench is archived |
| general_editing_guidance | string Generic comment for edition |
| sort_by | string Sort the list. Prefix a field with '+'/'-' to sort ascending/descending. |
| limit | number >= 1 Page size (default 100, max 1000) |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
[- [
- {
- "account_id": 1,
- "bench_id": 3,
- "parent_id": 2,
- "root_id": 1,
- "ext_lib_id": "1",
- "smalltext": "RTW_2019 DAY1 packshot",
- "startdate": "2018-12-25T22:45:00",
- "enddate": "2018-12-26T22:45:00",
- "timezone": "Europe/Paris",
- "tzoffset": 60,
- "shooting_method_id": 1,
- "benchsteptype": 40,
- "benchaccess": 40,
- "benchstatus": 10,
- "info": {
- "Photograph": "John Smith",
- "Model": "John Snow",
- "Stylist": "John Wick"
}, - "info_model": [
- {
- "key": "Photograph",
- "label": "Photograph",
- "type": "text"
}, - {
- "key": "Model",
- "label": "Model",
- "type": "text"
}, - {
- "key": "stylist",
- "label": "Stylist",
- "type": "text"
}, - {
- "key": "online_date",
- "label": "Online date",
- "type": "date"
}, - {
- "key": "studio_number",
- "label": "Studio number",
- "type": "int"
}
], - "step_label": "Validation",
- "archived": false,
- "general_editing_guidance": "Generic comment for edition"
}
]
]Create a production in which you can load images. A production is built on a workflow with different steps. Each step is a bench in which you can load images. If you wan't a specific workflow, you can apply a template. The default workflow is :
| smalltext required | string Bench label |
| startdate required | string <date> Start date |
| enddate | string <date> End date |
| timezone | string Default: "Europe/Paris" Timezone |
| tzoffset | number Default: 60 Timezone offset in minutes |
| shooting_method_id required | number >= 1 Shooting method ID |
| bench_template_id | number >= 1 Id of a template to configure bench |
| template_account_id | number >= 1 account_id to use to load template, if empty, use the token account_id |
| briefing | string Url of a briefing giving information on production procedures |
| info | object (Model87) Information stored with production (info_model field) |
Array of objects (info_model) Description of what that can be stored in "info" field | |
| general_editing_guidance | string Generic comment for edition |
{- "smalltext": "RTW_2019 DAY1 packshot",
- "startdate": "2018-12-25T22:45:00",
- "enddate": "2018-12-26T22:45:00",
- "timezone": "Europe/Paris",
- "tzoffset": 60,
- "shooting_method_id": 1,
- "template_id": 1,
- "info": {
- "Photograph": "John Smith",
- "Model": "John Snow",
- "Stylist": "John Wick"
}, - "info_model": [
- {
- "key": "Photograph",
- "label": "Photograph",
- "type": "text"
}, - {
- "key": "Model",
- "label": "Model",
- "type": "text"
}, - {
- "key": "stylist",
- "label": "Stylist",
- "type": "text"
}, - {
- "key": "online_date",
- "label": "Online date",
- "type": "date"
}, - {
- "key": "studio_number",
- "label": "Studio number",
- "type": "int"
}
], - "general_editing_guidance": "Generic comment for edition"
}"string"[- {
- "export_id": 2,
- "smalltext": "HD",
- "config": {
- "crop": {
- "active": true,
- "width": 2500,
- "height": 1800,
- "position": "Center"
}, - "resize": {
- "active": true,
- "width": 2000,
- "height": 2000,
- "flag": "<"
}, - "to_jpg": {
- "active": true,
- "background_color": "#F0F0F0"
}, - "icc_profile": {
- "active": true,
- "profile": "sRGB IEC61966-2.1"
}, - "density": 72,
- "rotation": 3,
- "max_file_size": 4096,
- "duplicate_productref": true,
- "apply_frame": true,
- "extend_background": false,
- "duplicate_look": "only",
- "filter": {
- "match": "/HD/",
- "exclude": false,
- "sample": "/HD/mypicture_1.png"
}, - "decode": {
- "regexp": "(.*).(.*)",
- "sample": "mypicture_1.png"
}, - "target": {
- "name": "{$1}_{$2}.jpg",
- "sample": "myeanpicture_1.jpg",
- "substitutions": [
- "sku",
- "_same"
]
}
}, - "archived": false,
- "format_ids": [
- 3
]
}
]Create export.
| export_id | integer >= 1 |
| smalltext | string |
object (Model18) | |
| archived | boolean |
| format_ids | Array of integers (format_ids) [ items >= 1 ] |
{- "export_id": 1,
- "smalltext": "string",
- "config": {
- "crop": {
- "active": true,
- "width": 0,
- "height": 0,
- "position": "NorthWest"
}, - "resize": {
- "active": true,
- "width": 0,
- "height": 0,
- "flag": "<"
}, - "background_color": "string",
- "icc_profile": {
- "active": true,
- "profile": "string"
}, - "density": 0,
- "rotation": 0,
- "max_file_size": 0,
- "duplicate_productref": true,
- "apply_frame": true,
- "apply_format": true,
- "extend_background": true,
- "duplicate_look": true,
- "filter": {
- "match": "string",
- "exclude": true,
- "sample": "string"
}, - "decode": {
- "regexp": "string",
- "sample": "string"
}, - "target": {
- "name": "string",
- "sample": "string",
- "substitutions": [
- "string"
]
}
}, - "archived": true,
- "format_ids": [
- 1
]
}{- "export_id": 2,
- "smalltext": "HD",
- "config": {
- "crop": {
- "active": true,
- "width": 2500,
- "height": 1800,
- "position": "Center"
}, - "resize": {
- "active": true,
- "width": 2000,
- "height": 2000,
- "flag": "<"
}, - "to_jpg": {
- "active": true,
- "background_color": "#F0F0F0"
}, - "icc_profile": {
- "active": true,
- "profile": "sRGB IEC61966-2.1"
}, - "density": 72,
- "rotation": 3,
- "max_file_size": 4096,
- "duplicate_productref": true,
- "apply_frame": true,
- "extend_background": false,
- "duplicate_look": "only",
- "filter": {
- "match": "/HD/",
- "exclude": false,
- "sample": "/HD/mypicture_1.png"
}, - "decode": {
- "regexp": "(.*).(.*)",
- "sample": "mypicture_1.png"
}, - "target": {
- "name": "{$1}_{$2}.jpg",
- "sample": "myeanpicture_1.jpg",
- "substitutions": [
- "sku",
- "_same"
]
}
}, - "archived": false,
- "format_ids": [
- 3
]
}List templates availables. They can be used during a production creation.
[- {
- "template_id": 3,
- "account_id": 612,
- "smalltext": "test",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "103": [
- {
- "export_id": 8,
- "smalltext": "LOOK"
}, - {
- "export_id": 2,
- "smalltext": "WEB"
}
]
}, - "delegation_account_id": 102,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "standard",
- "ref_pattern": "::v3::0::::-1::_::2::_::2::.::1::0",
- "framing": {
- "active": true,
- "width": 200,
- "height": 200
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "test",
- "datecreated": true,
- "headline": "1",
- "caption": "2",
- "keywords": "3",
- "coverage": "4",
- "copyright": "5",
- "usageterms": "6",
- "digitalsourcetype": "ai"
}, - "info": [
- {
- "label": "Photographe",
- "type": "text",
- "value": "1"
}, - {
- "label": "Mannequin",
- "type": "text",
- "value": "2"
}, - {
- "label": "Styliste",
- "type": "text",
- "value": "3"
}, - {
- "label": "Date limite des droits",
- "type": "date",
- "value": "2022-03-30T09:13:25.895Z"
}, - {
- "label": "fergverger",
- "type": "int",
- "value": 12312
}
], - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample"
}
]
}, - "live": {
- "label": "Live",
- "message": "Message pour le responsable",
- "folder_pattern": "{EAN}",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "(.*).jpg",
- "sample": [
- "mypicture_1.jpg",
- "mypicture_1.png"
]
}
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit1": {
- "active": true,
- "label": "Phase 1",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit2": {
- "active": true,
- "label": "Phase 2",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "validation": {
- "label": "Validation",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "Option 1",
- "Option 2",
- "Option 3"
], - "secondary": [
- "Option 4",
- "Option 5",
- "Option 6"
]
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}
]
}
}
]Create template. It can be used during a production creation.
| template_id | integer >= 1 |
| account_id | integer >= 1 |
| smalltext | string |
object (production) | |
object (live) | |
object (edit1) | |
object (edit2) | |
object (validation) |
{- "template_id": 1,
- "account_id": 1,
- "smalltext": "string",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "number": [
- {
- "export_id": 1,
- "smalltext": "string"
}
]
}, - "delegation_account_id": 1,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "string",
- "ref_pattern": "string",
- "sessiontype": "string",
- "framing": {
- "active": true,
- "width": 1,
- "height": 1
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "string",
- "datecreated": true,
- "headline": "string",
- "caption": "string",
- "keywords": "string",
- "coverage": "string",
- "copyright": "string",
- "usageterms": "string",
- "digitalsourcetype": "string"
}, - "info": [
- {
- "label": "string",
- "type": "string",
- "value": "string"
}
], - "access": [
- {
- "email": "string",
- "firstname": "string"
}
]
}, - "live": {
- "label": "string",
- "message": "string",
- "folder_pattern": "string",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "string",
- "sample": [
- "string"
]
}
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit1": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit2": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "validation": {
- "label": "string",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "string"
], - "secondary": [
- "string"
]
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}
}{- "template_id": 3,
- "account_id": 612,
- "smalltext": "test",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "103": [
- {
- "export_id": 8,
- "smalltext": "LOOK"
}, - {
- "export_id": 2,
- "smalltext": "WEB"
}
]
}, - "delegation_account_id": 102,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "standard",
- "ref_pattern": "::v3::0::::-1::_::2::_::2::.::1::0",
- "framing": {
- "active": true,
- "width": 200,
- "height": 200
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "test",
- "datecreated": true,
- "headline": "1",
- "caption": "2",
- "keywords": "3",
- "coverage": "4",
- "copyright": "5",
- "usageterms": "6",
- "digitalsourcetype": "ai"
}, - "info": [
- {
- "label": "Photographe",
- "type": "text",
- "value": "1"
}, - {
- "label": "Mannequin",
- "type": "text",
- "value": "2"
}, - {
- "label": "Styliste",
- "type": "text",
- "value": "3"
}, - {
- "label": "Date limite des droits",
- "type": "date",
- "value": "2022-03-30T09:13:25.895Z"
}, - {
- "label": "fergverger",
- "type": "int",
- "value": 12312
}
], - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample"
}
]
}, - "live": {
- "label": "Live",
- "message": "Message pour le responsable",
- "folder_pattern": "{EAN}",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "(.*).jpg",
- "sample": [
- "mypicture_1.jpg",
- "mypicture_1.png"
]
}
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit1": {
- "active": true,
- "label": "Phase 1",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit2": {
- "active": true,
- "label": "Phase 2",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "validation": {
- "label": "Validation",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "Option 1",
- "Option 2",
- "Option 3"
], - "secondary": [
- "Option 4",
- "Option 5",
- "Option 6"
]
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}
]
}
}Load export.
| export_id required | number the export id |
{- "export_id": 2,
- "smalltext": "HD",
- "config": {
- "crop": {
- "active": true,
- "width": 2500,
- "height": 1800,
- "position": "Center"
}, - "resize": {
- "active": true,
- "width": 2000,
- "height": 2000,
- "flag": "<"
}, - "to_jpg": {
- "active": true,
- "background_color": "#F0F0F0"
}, - "icc_profile": {
- "active": true,
- "profile": "sRGB IEC61966-2.1"
}, - "density": 72,
- "rotation": 3,
- "max_file_size": 4096,
- "duplicate_productref": true,
- "apply_frame": true,
- "extend_background": false,
- "duplicate_look": "only",
- "filter": {
- "match": "/HD/",
- "exclude": false,
- "sample": "/HD/mypicture_1.png"
}, - "decode": {
- "regexp": "(.*).(.*)",
- "sample": "mypicture_1.png"
}, - "target": {
- "name": "{$1}_{$2}.jpg",
- "sample": "myeanpicture_1.jpg",
- "substitutions": [
- "sku",
- "_same"
]
}
}, - "archived": false,
- "format_ids": [
- 3
]
}Replace export.
| export_id required | integer >= 2 the export id |
| export_id | integer >= 1 |
| smalltext | string |
object (Model18) | |
| archived | boolean |
| format_ids | Array of integers (format_ids) [ items >= 1 ] |
{- "export_id": 1,
- "smalltext": "string",
- "config": {
- "crop": {
- "active": true,
- "width": 0,
- "height": 0,
- "position": "NorthWest"
}, - "resize": {
- "active": true,
- "width": 0,
- "height": 0,
- "flag": "<"
}, - "background_color": "string",
- "icc_profile": {
- "active": true,
- "profile": "string"
}, - "density": 0,
- "rotation": 0,
- "max_file_size": 0,
- "duplicate_productref": true,
- "apply_frame": true,
- "apply_format": true,
- "extend_background": true,
- "duplicate_look": true,
- "filter": {
- "match": "string",
- "exclude": true,
- "sample": "string"
}, - "decode": {
- "regexp": "string",
- "sample": "string"
}, - "target": {
- "name": "string",
- "sample": "string",
- "substitutions": [
- "string"
]
}
}, - "archived": true,
- "format_ids": [
- 1
]
}{- "export_id": 2,
- "smalltext": "HD",
- "config": {
- "crop": {
- "active": true,
- "width": 2500,
- "height": 1800,
- "position": "Center"
}, - "resize": {
- "active": true,
- "width": 2000,
- "height": 2000,
- "flag": "<"
}, - "to_jpg": {
- "active": true,
- "background_color": "#F0F0F0"
}, - "icc_profile": {
- "active": true,
- "profile": "sRGB IEC61966-2.1"
}, - "density": 72,
- "rotation": 3,
- "max_file_size": 4096,
- "duplicate_productref": true,
- "apply_frame": true,
- "extend_background": false,
- "duplicate_look": "only",
- "filter": {
- "match": "/HD/",
- "exclude": false,
- "sample": "/HD/mypicture_1.png"
}, - "decode": {
- "regexp": "(.*).(.*)",
- "sample": "mypicture_1.png"
}, - "target": {
- "name": "{$1}_{$2}.jpg",
- "sample": "myeanpicture_1.jpg",
- "substitutions": [
- "sku",
- "_same"
]
}
}, - "archived": false,
- "format_ids": [
- 3
]
}Update export.
| export_id required | integer >= 2 the export id |
| export_id | integer >= 1 |
| smalltext | string |
object (Model18) | |
| archived | boolean |
| format_ids | Array of integers (format_ids) [ items >= 1 ] |
{- "export_id": 1,
- "smalltext": "string",
- "config": {
- "crop": {
- "active": true,
- "width": 0,
- "height": 0,
- "position": "NorthWest"
}, - "resize": {
- "active": true,
- "width": 0,
- "height": 0,
- "flag": "<"
}, - "background_color": "string",
- "icc_profile": {
- "active": true,
- "profile": "string"
}, - "density": 0,
- "rotation": 0,
- "max_file_size": 0,
- "duplicate_productref": true,
- "apply_frame": true,
- "apply_format": true,
- "extend_background": true,
- "duplicate_look": true,
- "filter": {
- "match": "string",
- "exclude": true,
- "sample": "string"
}, - "decode": {
- "regexp": "string",
- "sample": "string"
}, - "target": {
- "name": "string",
- "sample": "string",
- "substitutions": [
- "string"
]
}
}, - "archived": true,
- "format_ids": [
- 1
]
}{- "export_id": 2,
- "smalltext": "HD",
- "config": {
- "crop": {
- "active": true,
- "width": 2500,
- "height": 1800,
- "position": "Center"
}, - "resize": {
- "active": true,
- "width": 2000,
- "height": 2000,
- "flag": "<"
}, - "to_jpg": {
- "active": true,
- "background_color": "#F0F0F0"
}, - "icc_profile": {
- "active": true,
- "profile": "sRGB IEC61966-2.1"
}, - "density": 72,
- "rotation": 3,
- "max_file_size": 4096,
- "duplicate_productref": true,
- "apply_frame": true,
- "extend_background": false,
- "duplicate_look": "only",
- "filter": {
- "match": "/HD/",
- "exclude": false,
- "sample": "/HD/mypicture_1.png"
}, - "decode": {
- "regexp": "(.*).(.*)",
- "sample": "mypicture_1.png"
}, - "target": {
- "name": "{$1}_{$2}.jpg",
- "sample": "myeanpicture_1.jpg",
- "substitutions": [
- "sku",
- "_same"
]
}
}, - "archived": false,
- "format_ids": [
- 3
]
}Archive export.
| export_id required | integer >= 2 the export id |
{- "export_id": 2,
- "smalltext": "HD",
- "config": {
- "crop": {
- "active": true,
- "width": 2500,
- "height": 1800,
- "position": "Center"
}, - "resize": {
- "active": true,
- "width": 2000,
- "height": 2000,
- "flag": "<"
}, - "to_jpg": {
- "active": true,
- "background_color": "#F0F0F0"
}, - "icc_profile": {
- "active": true,
- "profile": "sRGB IEC61966-2.1"
}, - "density": 72,
- "rotation": 3,
- "max_file_size": 4096,
- "duplicate_productref": true,
- "apply_frame": true,
- "extend_background": false,
- "duplicate_look": "only",
- "filter": {
- "match": "/HD/",
- "exclude": false,
- "sample": "/HD/mypicture_1.png"
}, - "decode": {
- "regexp": "(.*).(.*)",
- "sample": "mypicture_1.png"
}, - "target": {
- "name": "{$1}_{$2}.jpg",
- "sample": "myeanpicture_1.jpg",
- "substitutions": [
- "sku",
- "_same"
]
}
}, - "archived": false,
- "format_ids": [
- 3
]
}Load template. It can be used during a production creation.
| template_id required | number the template id |
{- "template_id": 3,
- "account_id": 612,
- "smalltext": "test",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "103": [
- {
- "export_id": 8,
- "smalltext": "LOOK"
}, - {
- "export_id": 2,
- "smalltext": "WEB"
}
]
}, - "delegation_account_id": 102,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "standard",
- "ref_pattern": "::v3::0::::-1::_::2::_::2::.::1::0",
- "framing": {
- "active": true,
- "width": 200,
- "height": 200
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "test",
- "datecreated": true,
- "headline": "1",
- "caption": "2",
- "keywords": "3",
- "coverage": "4",
- "copyright": "5",
- "usageterms": "6",
- "digitalsourcetype": "ai"
}, - "info": [
- {
- "label": "Photographe",
- "type": "text",
- "value": "1"
}, - {
- "label": "Mannequin",
- "type": "text",
- "value": "2"
}, - {
- "label": "Styliste",
- "type": "text",
- "value": "3"
}, - {
- "label": "Date limite des droits",
- "type": "date",
- "value": "2022-03-30T09:13:25.895Z"
}, - {
- "label": "fergverger",
- "type": "int",
- "value": 12312
}
], - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample"
}
]
}, - "live": {
- "label": "Live",
- "message": "Message pour le responsable",
- "folder_pattern": "{EAN}",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "(.*).jpg",
- "sample": [
- "mypicture_1.jpg",
- "mypicture_1.png"
]
}
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit1": {
- "active": true,
- "label": "Phase 1",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit2": {
- "active": true,
- "label": "Phase 2",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "validation": {
- "label": "Validation",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "Option 1",
- "Option 2",
- "Option 3"
], - "secondary": [
- "Option 4",
- "Option 5",
- "Option 6"
]
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}
]
}
}Replace template. It can be used during a production creation.
| template_id required | number the template id |
| template_id | integer >= 1 |
| account_id | integer >= 1 |
| smalltext | string |
object (production) | |
object (live) | |
object (edit1) | |
object (edit2) | |
object (validation) |
{- "template_id": 1,
- "account_id": 1,
- "smalltext": "string",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "number": [
- {
- "export_id": 1,
- "smalltext": "string"
}
]
}, - "delegation_account_id": 1,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "string",
- "ref_pattern": "string",
- "sessiontype": "string",
- "framing": {
- "active": true,
- "width": 1,
- "height": 1
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "string",
- "datecreated": true,
- "headline": "string",
- "caption": "string",
- "keywords": "string",
- "coverage": "string",
- "copyright": "string",
- "usageterms": "string",
- "digitalsourcetype": "string"
}, - "info": [
- {
- "label": "string",
- "type": "string",
- "value": "string"
}
], - "access": [
- {
- "email": "string",
- "firstname": "string"
}
]
}, - "live": {
- "label": "string",
- "message": "string",
- "folder_pattern": "string",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "string",
- "sample": [
- "string"
]
}
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit1": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit2": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "validation": {
- "label": "string",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "string"
], - "secondary": [
- "string"
]
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}
}{- "template_id": 3,
- "account_id": 612,
- "smalltext": "test",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "103": [
- {
- "export_id": 8,
- "smalltext": "LOOK"
}, - {
- "export_id": 2,
- "smalltext": "WEB"
}
]
}, - "delegation_account_id": 102,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "standard",
- "ref_pattern": "::v3::0::::-1::_::2::_::2::.::1::0",
- "framing": {
- "active": true,
- "width": 200,
- "height": 200
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "test",
- "datecreated": true,
- "headline": "1",
- "caption": "2",
- "keywords": "3",
- "coverage": "4",
- "copyright": "5",
- "usageterms": "6",
- "digitalsourcetype": "ai"
}, - "info": [
- {
- "label": "Photographe",
- "type": "text",
- "value": "1"
}, - {
- "label": "Mannequin",
- "type": "text",
- "value": "2"
}, - {
- "label": "Styliste",
- "type": "text",
- "value": "3"
}, - {
- "label": "Date limite des droits",
- "type": "date",
- "value": "2022-03-30T09:13:25.895Z"
}, - {
- "label": "fergverger",
- "type": "int",
- "value": 12312
}
], - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample"
}
]
}, - "live": {
- "label": "Live",
- "message": "Message pour le responsable",
- "folder_pattern": "{EAN}",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "(.*).jpg",
- "sample": [
- "mypicture_1.jpg",
- "mypicture_1.png"
]
}
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit1": {
- "active": true,
- "label": "Phase 1",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit2": {
- "active": true,
- "label": "Phase 2",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "validation": {
- "label": "Validation",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "Option 1",
- "Option 2",
- "Option 3"
], - "secondary": [
- "Option 4",
- "Option 5",
- "Option 6"
]
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}
]
}
}Update template. It can be used during a production creation.
| template_id required | number the template id |
| template_id | integer >= 1 |
| account_id | integer >= 1 |
| smalltext | string |
object (production) | |
object (live) | |
object (edit1) | |
object (edit2) | |
object (validation) |
{- "template_id": 1,
- "account_id": 1,
- "smalltext": "string",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "number": [
- {
- "export_id": 1,
- "smalltext": "string"
}
]
}, - "delegation_account_id": 1,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "string",
- "ref_pattern": "string",
- "sessiontype": "string",
- "framing": {
- "active": true,
- "width": 1,
- "height": 1
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "string",
- "datecreated": true,
- "headline": "string",
- "caption": "string",
- "keywords": "string",
- "coverage": "string",
- "copyright": "string",
- "usageterms": "string",
- "digitalsourcetype": "string"
}, - "info": [
- {
- "label": "string",
- "type": "string",
- "value": "string"
}
], - "access": [
- {
- "email": "string",
- "firstname": "string"
}
]
}, - "live": {
- "label": "string",
- "message": "string",
- "folder_pattern": "string",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "string",
- "sample": [
- "string"
]
}
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit1": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit2": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "validation": {
- "label": "string",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "string"
], - "secondary": [
- "string"
]
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}
}{- "template_id": 3,
- "account_id": 612,
- "smalltext": "test",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "exports": {
- "103": [
- {
- "export_id": 8,
- "smalltext": "LOOK"
}, - {
- "export_id": 2,
- "smalltext": "WEB"
}
]
}, - "delegation_account_id": 102,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "standard",
- "ref_pattern": "::v3::0::::-1::_::2::_::2::.::1::0",
- "framing": {
- "active": true,
- "width": 200,
- "height": 200
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "test",
- "datecreated": true,
- "headline": "1",
- "caption": "2",
- "keywords": "3",
- "coverage": "4",
- "copyright": "5",
- "usageterms": "6",
- "digitalsourcetype": "ai"
}, - "info": [
- {
- "label": "Photographe",
- "type": "text",
- "value": "1"
}, - {
- "label": "Mannequin",
- "type": "text",
- "value": "2"
}, - {
- "label": "Styliste",
- "type": "text",
- "value": "3"
}, - {
- "label": "Date limite des droits",
- "type": "date",
- "value": "2022-03-30T09:13:25.895Z"
}, - {
- "label": "fergverger",
- "type": "int",
- "value": 12312
}
], - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample"
}
]
}, - "live": {
- "label": "Live",
- "message": "Message pour le responsable",
- "folder_pattern": "{EAN}",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "(.*).jpg",
- "sample": [
- "mypicture_1.jpg",
- "mypicture_1.png"
]
}
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit1": {
- "active": true,
- "label": "Phase 1",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "edit2": {
- "active": true,
- "label": "Phase 2",
- "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}, - {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": false
}
]
}, - "validation": {
- "label": "Validation",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "Option 1",
- "Option 2",
- "Option 3"
], - "secondary": [
- "Option 4",
- "Option 5",
- "Option 6"
]
}, - "access": [
- {
- "email": "sampleaccess@email.com",
- "firstname": "Sample",
- "guest": true
}
]
}
}{- "account_id": 1,
- "smalltext": "string",
- "production": {
- "alerts": {
- "missing_icc_profile": true
}, - "auto_export": true,
- "delegation_account_id": 1,
- "export_all_pictures": true,
- "show_media_version": true,
- "download_all_pictures": true,
- "max_zoom_100": true,
- "mode_360": true,
- "storage": "string",
- "ref_pattern": "string",
- "sessiontype": "string",
- "framing": {
- "active": true,
- "width": 1,
- "height": 1
}, - "multiple_framing": {
- "active": true
}, - "metadata": {
- "author": "string",
- "datecreated": true,
- "headline": "string",
- "caption": "string",
- "keywords": "string",
- "coverage": "string",
- "copyright": "string",
- "usageterms": "string",
- "digitalsourcetype": "string"
}, - "info": [
- {
- "label": "string",
- "type": "string",
- "value": "string"
}
], - "access": [
- {
- "email": "string",
- "firstname": "string"
}
], - "exports": [
- {
- "export_id": 1,
- "smalltext": "string",
- "config": {
- "crop": {
- "active": true,
- "width": 0,
- "height": 0,
- "position": "NorthWest"
}, - "resize": {
- "active": true,
- "width": 0,
- "height": 0,
- "flag": "<"
}, - "background_color": "string",
- "icc_profile": {
- "active": true,
- "profile": "string"
}, - "density": 0,
- "rotation": 0,
- "max_file_size": 0,
- "duplicate_productref": true,
- "apply_frame": true,
- "apply_format": true,
- "extend_background": true,
- "duplicate_look": true,
- "filter": {
- "match": "string",
- "exclude": true,
- "sample": "string"
}, - "decode": {
- "regexp": "string",
- "sample": "string"
}, - "target": {
- "name": "string",
- "sample": "string",
- "substitutions": [
- "string"
]
}
}, - "archived": true,
- "format_ids": [
- 1
]
}
]
}, - "live": {
- "label": "string",
- "message": "string",
- "folder_pattern": "string",
- "look_association": "manual",
- "alerts": {
- "out_of_shotlist": true,
- "out_of_set": true,
- "out_of_catalog": true,
- "missing_view": true,
- "pattern": {
- "active": true,
- "regexp": "string",
- "sample": [
- "string"
]
}
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit1": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "edit2": {
- "active": true,
- "label": "string",
- "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}, - "validation": {
- "label": "string",
- "auto_validation": true,
- "manual_broadcast": true,
- "alerts": {
- "missing_catalog": true,
- "missing_value_dictionnary": true,
- "missing_info_look": true,
- "unexpected_view": true,
- "format_compliancy": true
}, - "rejection_options": {
- "active": true,
- "main": [
- "string"
], - "secondary": [
- "string"
]
}, - "access": [
- {
- "email": "string",
- "firstname": "string",
- "guest": true
}
]
}
}List benches in a production.
| bench_root_id required | number the production id |
[- {
- "account_id": 1,
- "bench_id": 3,
- "parent_id": 2,
- "root_id": 1,
- "ext_lib_id": "1",
- "smalltext": "RTW_2019 DAY1 packshot",
- "startdate": "2018-12-25T22:45:00",
- "enddate": "2018-12-26T22:45:00",
- "timezone": "Europe/Paris",
- "tzoffset": 60,
- "shooting_method_id": 1,
- "benchsteptype": 40,
- "benchaccess": 40,
- "benchstatus": 10,
- "info": {
- "Photograph": "John Smith",
- "Model": "John Snow",
- "Stylist": "John Wick"
}, - "info_model": [
- {
- "key": "Photograph",
- "label": "Photograph",
- "type": "text"
}, - {
- "key": "Model",
- "label": "Model",
- "type": "text"
}, - {
- "key": "stylist",
- "label": "Stylist",
- "type": "text"
}, - {
- "key": "online_date",
- "label": "Online date",
- "type": "date"
}, - {
- "key": "studio_number",
- "label": "Studio number",
- "type": "int"
}
], - "step_label": "Validation",
- "archived": false,
- "general_editing_guidance": "Generic comment for edition"
}
]Define wich references should be shot during a production.
| bench_root_id required | number the production id |
| ref | string |
| bench_id | number |
[- {
- "ref": "string",
- "bench_id": 0
}
]"string"Load a bench by its id
| bench_id required | number the bench id |
| bench_root_id required | number the production id |
{- "account_id": 1,
- "bench_id": 3,
- "parent_id": 2,
- "root_id": 1,
- "ext_lib_id": "1",
- "smalltext": "RTW_2019 DAY1 packshot",
- "startdate": "2018-12-25T22:45:00",
- "enddate": "2018-12-26T22:45:00",
- "timezone": "Europe/Paris",
- "tzoffset": 60,
- "shooting_method_id": 1,
- "benchsteptype": 40,
- "benchaccess": 40,
- "benchstatus": 10,
- "info": {
- "Photograph": "John Smith",
- "Model": "John Snow",
- "Stylist": "John Wick"
}, - "info_model": [
- {
- "key": "Photograph",
- "label": "Photograph",
- "type": "text"
}, - {
- "key": "Model",
- "label": "Model",
- "type": "text"
}, - {
- "key": "stylist",
- "label": "Stylist",
- "type": "text"
}, - {
- "key": "online_date",
- "label": "Online date",
- "type": "date"
}, - {
- "key": "studio_number",
- "label": "Studio number",
- "type": "int"
}
], - "step_label": "Validation",
- "archived": false,
- "general_editing_guidance": "Generic comment for edition"
}Return a status code
| bench_root_id required | number the production id |
| bench_id required | number the bench id |
| file required | string <binary> picture file |
| wait | boolean Default: true wait end of upload to return |
| path | string Default: "/" path to upload picture |
| transfer_id | number id of a transfer the files uploaded are linked to. Only for plugins purpose |
"string"Returns an object array with information about the upload. The order of this response keeps the order of the array in the 'urls' field of the payload.
| bench_root_id required | number the production id |
| bench_id required | number the bench id |
| wait | boolean Default: false wait end of upload and file analysis |
| path | string Default: "/" path to upload picture |
Array of objects (urls) <= 200 items list of urls | |
| allowed_type | string (allowed_type) Default: "images and videos" Enum: "all" "images" "images and videos" types of files that are allowed to be uploaded |
| transfer_id | number id of a transfer the files uploaded are linked to. Only for plugins purpose |
{- "wait": false,
- "path": "/",
- "urls": [
- {
- "filename": "filename_1.jpg",
- "subpath": "string",
- "ref": "string",
- "view_type_code": "string",
- "parent_id": 0
}
], - "allowed_type": "all",
- "transfer_id": 0
}[- {
- "status": "ERROR",
- "mime_type": "application/json",
- "picture": {
- "picture_id": 1,
- "bench_id": 1,
- "bench_root_id": 1,
- "benchsteptype": 10,
- "benchstatus": 10,
- "ref": "string",
- "reference_ref": "string",
- "path": "string",
- "file_path": "string",
- "smalltext": "string",
- "picturestatus": 1,
- "filesize": 0,
- "width": 0,
- "height": 0,
- "reference_id": "string",
- "reference_ids": [
- 1
], - "refs": [
- "string"
], - "looks": [
- {
- "reference_id": "string",
- "ref": "string",
- "useforref": true,
- "main": true
}
], - "parent_id": 0,
- "child_ids": [
- 1
], - "icc_profile": "string",
- "thumbnail": "string",
- "hash": "string",
- "file_id": "string",
- "view_type_code": "string",
- "transfer_date": "2019-08-24",
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "validation_date": "2019-08-24",
- "frame": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}, - "frames": [
- {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}
], - "export": "string",
- "exportpicturestatus": 0,
- "taginfo": { },
- "shootingmethod": "string",
- "look_id": 0,
- "alerts": [
- "missing_icc_profile"
], - "deleted": true,
- "meta": {
- "pages_count": 0,
- "pages": [
- {
- "count": 0,
- "width": 0,
- "height": 0
}
]
}
}, - "status_desc": "Invalid content type application/json"
}
]Update a production, basicaly to modify production's name, dates, and optional fields such as genericeditioncomment.
| bench_root_id required | number the production id |
| smalltext | string Bench label |
| startdate | string <date> Start date |
| enddate | string <date> End date |
| timezone | string Default: "Europe/Paris" Timezone |
| tzoffset | number Default: 60 Timezone offset in minutes |
| shooting_method_id | number >= 1 Shooting method ID |
| info | object (Model155) Information stored with production |
Array of objects (info_model) Description of what that can be stored in "info" field | |
| general_editing_guidance | string Generic comment for edition |
{- "smalltext": "RTW_2019 DAY1 packshot",
- "startdate": "2018-12-25T22:45:00",
- "enddate": "2018-12-26T22:45:00",
- "timezone": "Europe/Paris",
- "tzoffset": 60,
- "shooting_method_id": 1,
- "bench_template_id": 1,
- "info": {
- "Photograph": "John Smith",
- "Model": "John Snow",
- "Stylist": "John Wick"
}, - "info_model": [
- {
- "key": "Photograph",
- "label": "Photograph",
- "type": "text"
}, - {
- "key": "Model",
- "label": "Model",
- "type": "text"
}, - {
- "key": "stylist",
- "label": "Stylist",
- "type": "text"
}, - {
- "key": "online_date",
- "label": "Online date",
- "type": "date"
}, - {
- "key": "studio_number",
- "label": "Studio number",
- "type": "int"
}
], - "general_editing_guidance": "Generic comment for edition"
}{- "account_id": 1,
- "bench_id": 3,
- "parent_id": 2,
- "root_id": 1,
- "ext_lib_id": "1",
- "smalltext": "RTW_2019 DAY1 packshot",
- "startdate": "2018-12-25T22:45:00",
- "enddate": "2018-12-26T22:45:00",
- "timezone": "Europe/Paris",
- "tzoffset": 60,
- "shooting_method_id": 1,
- "benchsteptype": 40,
- "benchaccess": 40,
- "benchstatus": 10,
- "info": {
- "Photograph": "John Smith",
- "Model": "John Snow",
- "Stylist": "John Wick"
}, - "info_model": [
- {
- "key": "Photograph",
- "label": "Photograph",
- "type": "text"
}, - {
- "key": "Model",
- "label": "Model",
- "type": "text"
}, - {
- "key": "stylist",
- "label": "Stylist",
- "type": "text"
}, - {
- "key": "online_date",
- "label": "Online date",
- "type": "date"
}, - {
- "key": "studio_number",
- "label": "Studio number",
- "type": "int"
}
], - "step_label": "Validation",
- "archived": false,
- "general_editing_guidance": "Generic comment for edition"
}Return an array of references with a pagination of 100.
You can filter by giving query parameters with the following logic :
You can set the offset of pagination with the header 'offset'. Response headers: 'X-Total-Count': Total number of items 'X-Offset': Offset of the result 'X-Count': Size of the result
| reference_id | string id of the reference |
| sort_by | string Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending. |
| ref | string reference label identifier |
| ean | string main ean |
| eans | string alternative ean, exact match. eans=A&eans=B returns references having both A and B as alternative eans |
| eans_extended | string rich ean information |
| univers | string univers, level 1 in catalog hierarchy |
| gamme | string gamme, level 2 in catalog hierarchy |
| family | string family, level 3 in catalog hierarchy |
| sku | string sku |
| brand | string brand |
| smalltext | string reference label |
| category_id | string product category identifier |
| product_ref | string product identifier |
| product_smalltext | string product label |
| gender | string gender |
| gender_smalltext | string gender |
| color | string color |
| hexa_color | string Code couleur RGB en hexa décimal |
| size | string size |
| collection | string collection |
| comment | string comment |
| photo | string URL of the reference preview image (set via POST /reference/{id}/photo) |
| tags | string tags |
| extra | string Extra data |
| shotlist_ids | string shotlist_ids reference belongs to |
| date_cre | string creation date of the reference (in Grand Shooting) |
| date_mod | string last modification date of the reference (in Grand Shooting) |
| online | string online date |
| shotlist_id | integer >= 1 Filter the references belonging to a shotlist; the response items then carry their shotlist_override |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
[- {
- "reference_id": 12,
- "ref": "FW19_ALDA_PINK",
- "ean": "2309309834098",
- "eans": [
- "2309309834093",
- "2309309834091"
], - "eans_extended": [
- {
- "ean": "2309309834093",
- "smalltext": "2309309834093 L",
- "star": true,
- "extra": {
- "sku": "19874LKKHZG",
- "size": "L"
}
}
], - "univers": "RTW",
- "gamme": "Accessories",
- "family": "Handbags",
- "sku": "EPOIAPOIJKLH109384",
- "brand": "BATCHEMON",
- "smalltext": "Pink leather handbag Alda",
- "category_id": 1,
- "product_ref": "FW19_ALDA",
- "product_smalltext": "Leather handbag Alda",
- "gender": "Woman",
- "color": "PINK",
- "hexa_color": "#FFC0CB",
- "size": "L",
- "collection": "FW19",
- "comment": "Closeup on zip",
- "tags": [
- "urgent",
- "leather"
], - "online": "20/12/2019",
- "extra": {
- "composition": [
- "30% coton",
- "beef leather"
]
}
}
]If a reference already exists with the same "ref", this reference will be updated. Otherwise, a new reference is created. Return the corresponding reference item with the generated id
| reference_id | number >= 1 id of the reference |
| ref required | string reference label identifier |
| ean | string main ean |
| eans | Array of strings (eans) alternatives ean |
Array of objects (eans_extended) rich ean information | |
| univers | string univers, level 1 in catalog hierarchy |
| gamme | string gamme, level 2 in catalog hierarchy |
| family | string family, level 3 in catalog hierarchy |
| sku | string sku |
| brand | string brand |
| smalltext | string reference label |
| category_id | number product category identifier |
| product_ref | string product identifier |
| product_smalltext | string product label |
| gender | string gender |
| gender_smalltext | string gender |
| color | string color |
| hexa_color | string Code couleur RGB en hexa décimal |
| size | string size |
| collection | string collection |
| comment | string comment |
| photo | string URL of the reference preview image (set via POST /reference/{id}/photo) |
| tags | Array of strings (tags) tags |
| extra | object (extra) Extra data |
| date_cre | string <date> creation date of the reference (in Grand Shooting) |
| date_mod | string <date> last modification date of the reference (in Grand Shooting) |
| online | string |
| shotlist_id | number >= 1 id of a shotlist to add reference to |
| shotlist | string name of a shotlist to add reference to (shotlist will be created if it doesnt exists) |
{- "reference_id": 1,
- "ref": "string",
- "ean": "string",
- "eans": [
- "string"
], - "eans_extended": [
- {
- "ean": "string",
- "smalltext": "string",
- "star": true,
- "extra": { }
}
], - "univers": "string",
- "gamme": "string",
- "family": "string",
- "sku": "string",
- "brand": "string",
- "smalltext": "string",
- "category_id": 0,
- "product_ref": "string",
- "product_smalltext": "string",
- "gender": "string",
- "gender_smalltext": "string",
- "color": "string",
- "hexa_color": "string",
- "size": "string",
- "collection": "string",
- "comment": "string",
- "photo": "string",
- "tags": [
- "string"
], - "extra": { },
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "online": "string",
- "shotlist_id": 1,
- "shotlist": "string"
}{- "reference_id": 12,
- "ref": "FW19_ALDA_PINK",
- "ean": "2309309834098",
- "eans": [
- "2309309834093",
- "2309309834091"
], - "eans_extended": [
- {
- "ean": "2309309834093",
- "smalltext": "2309309834093 L",
- "star": true,
- "extra": {
- "sku": "19874LKKHZG",
- "size": "L"
}
}
], - "univers": "RTW",
- "gamme": "Accessories",
- "family": "Handbags",
- "sku": "EPOIAPOIJKLH109384",
- "brand": "BATCHEMON",
- "smalltext": "Pink leather handbag Alda",
- "category_id": 1,
- "product_ref": "FW19_ALDA",
- "product_smalltext": "Leather handbag Alda",
- "gender": "Woman",
- "color": "PINK",
- "hexa_color": "#FFC0CB",
- "size": "L",
- "collection": "FW19",
- "comment": "Closeup on zip",
- "tags": [
- "urgent",
- "leather"
], - "online": "20/12/2019",
- "extra": {
- "composition": [
- "30% coton",
- "beef leather"
]
}
}Return a reference item
| reference_id required | number the id for the reference item |
| shotlist_id | integer >= 1 when set, the response carries the view override of the reference for that shotlist |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
{- "reference_id": 12,
- "ref": "FW19_ALDA_PINK",
- "ean": "2309309834098",
- "eans": [
- "2309309834093",
- "2309309834091"
], - "eans_extended": [
- {
- "ean": "2309309834093",
- "smalltext": "2309309834093 L",
- "star": true,
- "extra": {
- "sku": "19874LKKHZG",
- "size": "L"
}
}
], - "univers": "RTW",
- "gamme": "Accessories",
- "family": "Handbags",
- "sku": "EPOIAPOIJKLH109384",
- "brand": "BATCHEMON",
- "smalltext": "Pink leather handbag Alda",
- "category_id": 1,
- "product_ref": "FW19_ALDA",
- "product_smalltext": "Leather handbag Alda",
- "gender": "Woman",
- "color": "PINK",
- "hexa_color": "#FFC0CB",
- "size": "L",
- "collection": "FW19",
- "comment": "Closeup on zip",
- "tags": [
- "urgent",
- "leather"
], - "online": "20/12/2019",
- "extra": {
- "composition": [
- "30% coton",
- "beef leather"
]
}
}Return a reference item with its associated pictures, filtered by the provided query parameters
| id required | number the id for the reference item |
| export | string Filter pictures by export type |
| shootingmethod | string Filter pictures by shooting method |
| picturestatus | number Enum: 1 5 10 30 31 35 40 50 51 52 55 80 Filter pictures by status |
| benchsteptype | number Enum: 10 20 30 40 Filter pictures by bench step type |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
{- "reference_id": 1,
- "ref": "string",
- "ean": "string",
- "eans": [
- "string"
], - "eans_extended": [
- {
- "ean": "string",
- "smalltext": "string",
- "star": true,
- "extra": { }
}
], - "univers": "string",
- "gamme": "string",
- "family": "string",
- "sku": "string",
- "brand": "string",
- "smalltext": "string",
- "category_id": 0,
- "product_ref": "string",
- "product_smalltext": "string",
- "gender": "string",
- "gender_smalltext": "string",
- "color": "string",
- "hexa_color": "string",
- "size": "string",
- "collection": "string",
- "comment": "string",
- "photo": "string",
- "tags": [
- "string"
], - "extra": { },
- "shotlist_ids": [
- 0
], - "shotlist_override": { },
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "online": "string",
- "pictures": [
- {
- "picture_id": 1,
- "bench_id": 1,
- "bench_root_id": 1,
- "benchsteptype": 10,
- "benchstatus": 10,
- "ref": "string",
- "reference_ref": "string",
- "path": "string",
- "file_path": "string",
- "smalltext": "string",
- "picturestatus": 1,
- "filesize": 0,
- "width": 0,
- "height": 0,
- "reference_id": "string",
- "reference_ids": [
- 1
], - "refs": [
- "string"
], - "looks": [
- {
- "reference_id": "string",
- "ref": "string",
- "useforref": true,
- "main": true
}
], - "parent_id": 0,
- "child_ids": [
- 1
], - "icc_profile": "string",
- "thumbnail": "string",
- "hash": "string",
- "file_id": "string",
- "view_type_code": "string",
- "transfer_date": "2019-08-24",
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "validation_date": "2019-08-24",
- "frame": {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}, - "frames": [
- {
- "x1": 0,
- "y1": 0,
- "x2": 0,
- "y2": 0,
- "z": 0,
- "zp": {
- "x": 0,
- "y": 0
}, - "smalltext": "string",
- "index": 0,
- "reference_id": "string",
- "ref": "string"
}
], - "export": "string",
- "exportpicturestatus": 0,
- "taginfo": { },
- "shootingmethod": "string",
- "look_id": 0,
- "alerts": [
- "missing_icc_profile"
], - "deleted": true,
- "meta": {
- "pages_count": 0,
- "pages": [
- {
- "count": 0,
- "width": 0,
- "height": 0
}
]
}
}
]
}Returns the list of corresponding reference items
| reference_id | number >= 1 id of the reference |
| ref required | string reference label identifier |
| ean | string main ean |
| eans | Array of strings (eans) alternatives ean |
Array of objects (eans_extended) rich ean information | |
| univers | string univers, level 1 in catalog hierarchy |
| gamme | string gamme, level 2 in catalog hierarchy |
| family | string family, level 3 in catalog hierarchy |
| sku | string sku |
| brand | string brand |
| smalltext | string reference label |
| category_id | number product category identifier |
| product_ref | string product identifier |
| product_smalltext | string product label |
| gender | string gender |
| gender_smalltext | string gender |
| color | string color |
| hexa_color | string Code couleur RGB en hexa décimal |
| size | string size |
| collection | string collection |
| comment | string comment |
| photo | string URL of the reference preview image (set via POST /reference/{id}/photo) |
| tags | Array of strings (tags) tags |
| extra | object (extra) Extra data |
| date_cre | string <date> creation date of the reference (in Grand Shooting) |
| date_mod | string <date> last modification date of the reference (in Grand Shooting) |
| online | string |
| shotlist_id | number >= 1 id of a shotlist to add reference to |
| shotlist | string name of a shotlist to add reference to (shotlist will be created if it doesnt exists) |
[- {
- "reference_id": 1,
- "ref": "string",
- "ean": "string",
- "eans": [
- "string"
], - "eans_extended": [
- {
- "ean": "string",
- "smalltext": "string",
- "star": true,
- "extra": { }
}
], - "univers": "string",
- "gamme": "string",
- "family": "string",
- "sku": "string",
- "brand": "string",
- "smalltext": "string",
- "category_id": 0,
- "product_ref": "string",
- "product_smalltext": "string",
- "gender": "string",
- "gender_smalltext": "string",
- "color": "string",
- "hexa_color": "string",
- "size": "string",
- "collection": "string",
- "comment": "string",
- "photo": "string",
- "tags": [
- "string"
], - "extra": { },
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "online": "string",
- "shotlist_id": 1,
- "shotlist": "string"
}
][- {
- "reference_id": 12,
- "ref": "FW19_ALDA_PINK",
- "ean": "2309309834098",
- "eans": [
- "2309309834093",
- "2309309834091"
], - "eans_extended": [
- {
- "ean": "2309309834093",
- "smalltext": "2309309834093 L",
- "star": true,
- "extra": {
- "sku": "19874LKKHZG",
- "size": "L"
}
}
], - "univers": "RTW",
- "gamme": "Accessories",
- "family": "Handbags",
- "sku": "EPOIAPOIJKLH109384",
- "brand": "BATCHEMON",
- "smalltext": "Pink leather handbag Alda",
- "category_id": 1,
- "product_ref": "FW19_ALDA",
- "product_smalltext": "Leather handbag Alda",
- "gender": "Woman",
- "color": "PINK",
- "hexa_color": "#FFC0CB",
- "size": "L",
- "collection": "FW19",
- "comment": "Closeup on zip",
- "tags": [
- "urgent",
- "leather"
], - "online": "20/12/2019",
- "extra": {
- "composition": [
- "30% coton",
- "beef leather"
]
}
}
]Returns columns
| key required | string used to identify column in import and export files |
| label required | string used for display in screens |
| type required | string the type of the column |
[- {
- "key": "shopify-product_id",
- "label": "Shopify Product ID",
- "type": "int"
}
]"string"Multipart upload. Stores the image on Seafile (repo static-
| reference_id required | number >= 1 the id for the reference item |
| file required | string <binary> image file (jpg/png), ~300px recommended |
{- "reference_id": 0,
- "photo": "string"
}Merge both references, the second reference information will be link to primary reference (eans, stock information, pictures). Secondary reference will be deleted
| reference_id required | number >= 1 the id for the reference item |
| secondary_reference_id required | number >= 1 the id for the secondary reference item |
{- "reference_id": 12,
- "ref": "FW19_ALDA_PINK",
- "ean": "2309309834098",
- "eans": [
- "2309309834093",
- "2309309834091"
], - "eans_extended": [
- {
- "ean": "2309309834093",
- "smalltext": "2309309834093 L",
- "star": true,
- "extra": {
- "sku": "19874LKKHZG",
- "size": "L"
}
}
], - "univers": "RTW",
- "gamme": "Accessories",
- "family": "Handbags",
- "sku": "EPOIAPOIJKLH109384",
- "brand": "BATCHEMON",
- "smalltext": "Pink leather handbag Alda",
- "category_id": 1,
- "product_ref": "FW19_ALDA",
- "product_smalltext": "Leather handbag Alda",
- "gender": "Woman",
- "color": "PINK",
- "hexa_color": "#FFC0CB",
- "size": "L",
- "collection": "FW19",
- "comment": "Closeup on zip",
- "tags": [
- "urgent",
- "leather"
], - "online": "20/12/2019",
- "extra": {
- "composition": [
- "30% coton",
- "beef leather"
]
}
}Update only the extra fields of an existing reference. The reference must exist.
| reference_id required | number >= 1 the id for the reference item |
| extra required | object (Model164) Extra data to update |
{- "extra": { }
}{- "reference_id": 12,
- "ref": "FW19_ALDA_PINK",
- "ean": "2309309834098",
- "eans": [
- "2309309834093",
- "2309309834091"
], - "eans_extended": [
- {
- "ean": "2309309834093",
- "smalltext": "2309309834093 L",
- "star": true,
- "extra": {
- "sku": "19874LKKHZG",
- "size": "L"
}
}
], - "univers": "RTW",
- "gamme": "Accessories",
- "family": "Handbags",
- "sku": "EPOIAPOIJKLH109384",
- "brand": "BATCHEMON",
- "smalltext": "Pink leather handbag Alda",
- "category_id": 1,
- "product_ref": "FW19_ALDA",
- "product_smalltext": "Leather handbag Alda",
- "gender": "Woman",
- "color": "PINK",
- "hexa_color": "#FFC0CB",
- "size": "L",
- "collection": "FW19",
- "comment": "Closeup on zip",
- "tags": [
- "urgent",
- "leather"
], - "online": "20/12/2019",
- "extra": {
- "composition": [
- "30% coton",
- "beef leather"
]
}
}Retrieve all tags associated with a specific reference.
Response Format:
Returns an object where keys are tag names and values are always true.
Example Response:
{
"TAG1": true,
"TAG2": true
}
HTTP Status Codes:
200 OK: Tags retrieved successfully404 Not Found: Reference does not exist400 Bad Request: Invalid reference_id format| reference_id required | number the id for the reference item |
{- "TAG1": true,
- "TAG2": true
}Modify tags on a specific reference. This endpoint supports partial updates: only tags mentioned in the request are modified, existing tags not mentioned remain unchanged.
Request Body Format: Send tags as an object where:
true: Add the tag if it doesn't exist, or keep it if it already existsfalse: Remove the tag from the referenceExample Request:
{
"TAG1": true,
"TAG2": false,
"NEW_TAG": true
}
Behavior:
true will be added or keptfalse will be removedResponse Format:
Returns the updated tags object (same format as GET endpoint) with all current tags set to true.
Example Response:
{
"TAG1": true,
"NEW_TAG": true
}
HTTP Status Codes:
200 OK: Tags updated successfully404 Not Found: Reference does not exist400 Bad Request: Invalid reference_id format or invalid payload| reference_id required | number the id for the reference item |
Meta tag of reference
{ }{- "TAG1": true,
- "TAG2": true
}Modify tags on multiple references in a single request. The same tags update will be applied to all specified references. This endpoint supports partial updates: only tags mentioned in the request are modified, existing tags not mentioned remain unchanged.
Request Body Format:
{
"reference_id": [431315, 431318, 431320],
"tags": {
"TAG1": true,
"TAG2": false
}
}
reference_id: Array of reference IDs (numbers) to update (required, minimum 1 item)tags: Object where keys are tag names and values are booleans (required)true: Add/keep the tagfalse: Remove the tagBehavior:
true will be added or kept on each referencefalse will be removed from each referenceResponse Format:
Success (200 OK): When all references are updated successfully, returns an object mapping reference IDs to their updated tags:
{
"431315": {
"TAG1": true,
"OLD_TAG": true
},
"431318": {
"TAG1": true,
"OLD_TAG1": true
},
"431320": {
"TAG1": true
}
}
Partial Success (207 Multi-Status): When some references succeed and some fail, returns:
{
"succeeded": ["431315", "431318"],
"failed": [
{
"reference_id": "431320",
"error": "Reference not found"
}
]
}
HTTP Status Codes:
200 OK: All references updated successfully207 Multi-Status: Some references succeeded, some failed (check succeeded and failed arrays)404 Not Found: All references failed (if all reference_ids are invalid or not found)400 Bad Request: Invalid payload format (missing required fields, invalid types)Error Handling:
failed array with appropriate error messages| reference_id required | Array of numbers (reference_id) non-empty Array of reference IDs to update |
| tags | object (Model157) Meta tag of reference |
{- "reference_id": [
- 0
], - "tags": { }
}{ }Find information from a repo, the corresponding production or the corresponding gstransfer
| repo_id required | string id of the repo |
{- "repo_id": "string",
- "bench_id": 0,
- "root_id": 0,
- "files": [
- {
- "smalltext": "string",
- "path": "string",
- "filesize": 0,
- "width": 0,
- "height": 0,
- "thumbnail": "string",
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "file_id": "string",
- "blocks": [
- "string"
]
}
], - "gstransfer_id": "string",
- "account_id": 0,
- "ext_lib_id": "string",
- "server_id": "string"
}Download a file which content is identified by its file_id, you also have to specify the result filename (present in header)
| repo_id required | string id of the repo |
| file_id required | string id of the file |
| filename required | string name of the file to download |
"string"Send file descriptions
| repo_id required | string the id for the repo |
Array of objects (Model123) |
{- "files": [
- {
- "path": "string",
- "file_id": "string",
- "blocks": [
- "string"
]
}
]
}{- "status": "string"
}Upload block
| repo_id required | string the id for the repo |
| block_id required | string the id for the block |
| file required | string <binary> picture file |
{- "file": "string"
}{- "status": "string"
}Create or update a shooting method
| shootingmethod | string Name of shooting method |
{- "shootingmethod": "string"
}[- {
- "shooting_method_id": 10,
- "shootingmethod": "Packshot"
}
]Return an array of shotlists with a pagination.
You can set the offset of pagination with the header 'offset'. Response headers:
| offset | number >= 0 Default: 0 offset for pagination |
[- {
- "shotlist_id": 42,
- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}
]Create a new shotlist. config.shooting_method_ids and config.exports can only be set at creation time.
| name required | string <= 70 characters |
| production_date | string <date> |
| deadline | string <date> |
| description | string <= 500 characters |
| delegation_account_id | integer >= 1 |
object (config) |
{- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}
}{- "shotlist_id": 42,
- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}Get a specific shotlist.
| shotlist_id required | integer >= 1 ID of shotlist |
{- "shotlist_id": 42,
- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}Modify all fields of a shotlist, except config.shooting_method_ids and config.exports which are immutable.
| shotlist_id required | integer >= 1 ID of shotlist |
| name required | string <= 70 characters |
| production_date | string <date> |
| deadline | string <date> |
| description | string <= 500 characters |
| delegation_account_id | integer >= 1 |
object (config) |
{- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}
}{- "shotlist_id": 42,
- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}Update specific fields of a shotlist, except config.shooting_method_ids and config.exports which are immutable.
| shotlist_id required | integer >= 1 ID of shotlist |
| name | string <= 70 characters |
| production_date | string <date> |
| deadline | string <date> |
| description | string <= 500 characters |
| delegation_account_id | integer >= 1 |
object (config) |
{- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}
}{- "shotlist_id": 42,
- "name": "Shooting été 2026",
- "production_date": "2026-08-01",
- "deadline": "2026-09-15",
- "description": "Collection capsule plage",
- "delegation_account_id": 57,
- "config": {
- "shooting_method_ids": [
- 1,
- 10
], - "exports": [
- "WEB",
- "MKP"
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}Return an array of references associated to the shotlist, with their view overrides.
You can set the offset of pagination with the header 'offset'. Response headers:
| shotlist_id required | integer >= 1 ID of shotlist |
| offset | number >= 0 Default: 0 offset for pagination |
[- {
- "reference_id": 1024,
- "shotlist_id": 42,
- "override": {
- "views": [
- {
- "view_type_code": "1",
- "view_type_id": 103,
- "shooting_method_id": 10,
- "picture_id": 12984
}
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}
]Add a reference to a shotlist (upsert), with an optional override of the expected views.
Without override, the expected views of the reference are deduced from the specifications (cahier des charges), restricted to the shooting_method_ids of the shotlist config. An override entry with a picture_id pins the official media of the view for this shotlist.
| shotlist_id required | integer >= 1 ID of shotlist |
| reference_id required | integer >= 1 ID of reference |
object (override) |
{- "override": {
- "views": [
- {
- "view_type_code": "1",
- "view_type_id": 103,
- "shooting_method_id": 10,
- "picture_id": 12984
}
]
}
}{- "reference_id": 1024,
- "shotlist_id": 42,
- "override": {
- "views": [
- {
- "view_type_code": "1",
- "view_type_id": 103,
- "shooting_method_id": 10,
- "picture_id": 12984
}
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}Update the view override of a reference already present in the shotlist.
| shotlist_id required | integer >= 1 ID of shotlist |
| reference_id required | integer >= 1 ID of reference |
object (override) |
{- "override": {
- "views": [
- {
- "view_type_code": "1",
- "view_type_id": 103,
- "shooting_method_id": 10,
- "picture_id": 12984
}
]
}
}{- "reference_id": 1024,
- "shotlist_id": 42,
- "override": {
- "views": [
- {
- "view_type_code": "1",
- "view_type_id": 103,
- "shooting_method_id": 10,
- "picture_id": 12984
}
]
}, - "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}Remove a reference from a shotlist. The reference and its media are kept in the catalog.
| shotlist_id required | integer >= 1 ID of shotlist |
| reference_id required | integer >= 1 ID of reference |
""List specification categories (with their view types and formats).
Pagination: 'offset' header + 'limit' query param (default 100, max 1000). For backward compatibility, the response is only paginated when the 'offset' header (e.g. 'offset: 0') or the 'limit' query param is sent; otherwise every category is returned. Integrations should always paginate (send 'offset: 0' then follow 'X-Total-Count'): the unpaginated mode is kept for existing clients only and may be removed. Sorting: 'sort_by=name' / 'sort_by=-ranking' (sortable: name, category_id, ranking). Filtering: name (exact, wildcard), category_id and ranking (range operators gt/gte/lt/lte). Response headers: 'X-Total-Count', 'X-Offset', 'X-Count'.
[- {
- "keywords": [
- "PSSF_8_3",
- "PSSF121_1"
], - "category_id": 11,
- "ranking": 1,
- "view_types": [
- {
- "smalltext": "model",
- "rang": 1,
- "code": "1",
- "shootingmethod": "Flux Auto",
- "description": "model intermediate front OR model front OR packshot classic OR model\nSANS_GABARIT OR SANS_GABARIT OR RECTANGLE_VERTICAL_5XL_CENTRE OR SANS_GABARIT1",
- "formats": [
- {
- "format_id": 1,
- "smalltext": "Beauté",
- "background_color": "#FFFFFF",
- "border_top": 12,
- "border_bottom": 12,
- "border_left": 12,
- "border_right": 12,
- "description": "",
- "file_format": "PNG",
- "sample_filename": "",
- "height": 1000,
- "width": 1000,
- "icc_profile": "sRGB IEC61966-2.1",
- "max_file_size": 1000,
- "max_width": null,
- "authorize_max_width": false,
- "crop_face_position": "EYE",
- "position": "South",
- "resolution": 72,
- "border_strategy": {
- "left": {
- "size": 1,
- "unit": "%"
}, - "top": {
- "size": 1,
- "unit": "%"
}, - "right": {
- "size": 1,
- "unit": "%"
}, - "bottom": {
- "size": 1,
- "unit": "%"
}
}
}
]
}
], - "smalltext": "4000: Adulte Hauts, Homewear Hauts, Porté"
}
]Create specification categories.
Array of objects (categories) |
{- "categories": [
- {
- "keywords": [
- "string"
], - "category_id": 0,
- "ranking": 0,
- "view_types": [
- {
- "smalltext": "string",
- "rang": 0,
- "code": "string",
- "description": "string",
- "filename": "string",
- "shootingmethod": "string",
- "formats": [
- "string"
], - "masters": [
- {
- "file_id": "string",
- "url": "string"
}
]
}
], - "shooting_methods": [
- {
- "shooting_method_id": 0,
- "shootingmethod": "string"
}
], - "smalltext": "string"
}
]
}[- {
- "keywords": [
- "PSSF_8_3",
- "PSSF121_1"
], - "category_id": 11,
- "ranking": 1,
- "view_types": [
- {
- "smalltext": "model",
- "rang": 1,
- "code": "1",
- "shootingmethod": "Flux Auto",
- "description": "model intermediate front OR model front OR packshot classic OR model\nSANS_GABARIT OR SANS_GABARIT OR RECTANGLE_VERTICAL_5XL_CENTRE OR SANS_GABARIT1",
- "formats": [
- {
- "format_id": 1,
- "smalltext": "Beauté",
- "background_color": "#FFFFFF",
- "border_top": 12,
- "border_bottom": 12,
- "border_left": 12,
- "border_right": 12,
- "description": "",
- "file_format": "PNG",
- "sample_filename": "",
- "height": 1000,
- "width": 1000,
- "icc_profile": "sRGB IEC61966-2.1",
- "max_file_size": 1000,
- "max_width": null,
- "authorize_max_width": false,
- "crop_face_position": "EYE",
- "position": "South",
- "resolution": 72,
- "border_strategy": {
- "left": {
- "size": 1,
- "unit": "%"
}, - "top": {
- "size": 1,
- "unit": "%"
}, - "right": {
- "size": 1,
- "unit": "%"
}, - "bottom": {
- "size": 1,
- "unit": "%"
}
}
}
]
}
], - "smalltext": "4000: Adulte Hauts, Homewear Hauts, Porté"
}
]Download the current specification (categories, views and formats) as an XLS file in the same format consumed by POST /specification/import, so it can be re-imported as-is.
This is not a backup : master images cannot be carried by a spreadsheet and are not part of the file. Re-importing the file restores the categories, views, descriptions, format links and the file name / prod / postprod flags, not the masters.
The "FORMATS" sheet does not carry every field of a format : the maximum width, the border units and colours, and the activation flag have no column. They are preserved on re-import (the import merges what the file says over what is stored, it does not replace it), but they can only be edited through the specification screen.
"PROD" and "POSTPROD" are the only place where those two view fields can be edited : they are not part of the JSON category payload, and GET /specification/category does not return them either. "NOM DE FICHIER DE LA VUE" mirrors the filename field of the JSON payload, which the specification screen also edits. A column left out of the file, or a cell a spreadsheet dropped, means "leave the value untouched", so those columns are always present in the export even when every view leaves them empty.
A view whose formats all come from its rule has an empty "FORMAT" cell : that column lists the formats linked to the view, and only those. The ones the sorting rule names are in "REGLE DE FORMAT".
"FORMAT" and "REGLE DE FORMAT" are not the same column and are not interchangeable. "FORMAT" holds the formats linked to the view, one per line, and drives those links on import. "REGLE DE FORMAT" holds the rule consumed by the automatic picture sorting : it is matched by position against "REGLE DE CLASSEMENT", so the order and the number of its " OR " separated tokens are meaningful and must not be edited casually. When the two rule columns are present they take precedence over "TYPE DE VUE" and "FORMAT" for the description, and the import says so in its warnings.
"string"List specification available formats.
Pagination: 'offset' header + 'limit' query param (default 100, max 1000). For backward compatibility, the response is only paginated when the 'offset' header (e.g. 'offset: 0') or the 'limit' query param is sent; otherwise every format is returned. Integrations should always paginate (send 'offset: 0' then follow 'X-Total-Count'): the unpaginated mode is kept for existing clients only and may be removed. Sorting: 'sort_by=name' / 'sort_by=-name' (sortable: name, format_id). Filtering: name (exact, wildcard 'name=Beaut*'), format_id (range operators gt/gte/lt/lte, e.g. 'format_id=gte:10'). Response headers: 'X-Total-Count', 'X-Offset', 'X-Count'.
"string"Create format.
| smalltext | string Name of format |
| format_id | number ID of format |
| background_color | string Color or hexa |
| description | string Desciption of format |
| file_format | string (file_format) Enum: "JPEG" "PNG" "TIFF" "PSD" "JPG" "TIF" {"value":{"allowUnknown":true}} File format (JPEG, PNG, TIFF, PSD) |
| sample_filename | string |
| height | number px |
| width | number px |
| icc_profile | string ICC color profile (e.g. sRGB, Adobe RGB, CMYK, Display P3) |
| max_file_size | number kb |
| max_width | number px |
| authorize_max_width | boolean Default: false Autoriser les dimensions supérieures |
| position | string (Model102) Default: "Center" Enum: "NorthWest" "North" "NorthEast" "West" "Center" "East" "SouthWest" "South" "SouthEast" Position with border |
| resolution | number dpi |
object (border_strategy) | |
| crop_face_position | string (crop_face_position) Enum: "NOSE" "EYE" "NONE" Position where to crop the face |
{- "smalltext": "string",
- "format_id": 0,
- "background_color": "string",
- "description": "string",
- "file_format": "JPEG",
- "sample_filename": "string",
- "height": 0,
- "width": 0,
- "icc_profile": "string",
- "max_file_size": 0,
- "max_width": 0,
- "authorize_max_width": false,
- "position": "NorthWest",
- "resolution": 0,
- "border_strategy": {
- "top": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "bottom": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "left": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "right": {
- "color": "string",
- "unit": "px",
- "size": 0
}
}, - "crop_face_position": "NOSE"
}"string"Return a category item
| category_id required | number the id for the category item |
[- {
- "keywords": [
- "PSSF_8_3",
- "PSSF121_1"
], - "category_id": 11,
- "ranking": 1,
- "view_types": [
- {
- "smalltext": "model",
- "rang": 1,
- "code": "1",
- "shootingmethod": "Flux Auto",
- "description": "model intermediate front OR model front OR packshot classic OR model\nSANS_GABARIT OR SANS_GABARIT OR RECTANGLE_VERTICAL_5XL_CENTRE OR SANS_GABARIT1",
- "formats": [
- {
- "format_id": 1,
- "smalltext": "Beauté",
- "background_color": "#FFFFFF",
- "border_top": 12,
- "border_bottom": 12,
- "border_left": 12,
- "border_right": 12,
- "description": "",
- "file_format": "PNG",
- "sample_filename": "",
- "height": 1000,
- "width": 1000,
- "icc_profile": "sRGB IEC61966-2.1",
- "max_file_size": 1000,
- "max_width": null,
- "authorize_max_width": false,
- "crop_face_position": "EYE",
- "position": "South",
- "resolution": 72,
- "border_strategy": {
- "left": {
- "size": 1,
- "unit": "%"
}, - "top": {
- "size": 1,
- "unit": "%"
}, - "right": {
- "size": 1,
- "unit": "%"
}, - "bottom": {
- "size": 1,
- "unit": "%"
}
}
}
]
}
], - "smalltext": "4000: Adulte Hauts, Homewear Hauts, Porté"
}
]Update an existing category as a whole (global upsert of the entity). Views are identified by their code and any view missing from the payload is removed (destructive). When the ranking of the category changes, the sibling categories of the account are reordered server-side to keep a consistent, collision-free order.
| category_id required | number Id of category |
| keywords | Array of strings (keywords) keyword to match reference with category |
| category_id | number Id of category |
| ranking | number Ranking |
Array of objects (view_types) View types | |
Array of objects (shooting_methods) Shooting methods assigned to the category (from the category<->method link table), including methods that have no view yet. | |
| smalltext required | string Name of category |
{- "keywords": [
- "string"
], - "category_id": 0,
- "ranking": 0,
- "view_types": [
- {
- "smalltext": "string",
- "rang": 0,
- "code": "string",
- "description": "string",
- "filename": "string",
- "shootingmethod": "string",
- "formats": [
- "string"
], - "masters": [
- {
- "file_id": "string",
- "url": "string"
}
]
}
], - "shooting_methods": [
- {
- "shooting_method_id": 0,
- "shootingmethod": "string"
}
], - "smalltext": "string"
}{- "keywords": [
- "PSSF_8_3",
- "PSSF121_1"
], - "category_id": 11,
- "ranking": 1,
- "view_types": [
- {
- "smalltext": "model",
- "rang": 1,
- "code": "1",
- "shootingmethod": "Flux Auto",
- "description": "model intermediate front OR model front OR packshot classic OR model\nSANS_GABARIT OR SANS_GABARIT OR RECTANGLE_VERTICAL_5XL_CENTRE OR SANS_GABARIT1",
- "formats": [
- {
- "format_id": 1,
- "smalltext": "Beauté",
- "background_color": "#FFFFFF",
- "border_top": 12,
- "border_bottom": 12,
- "border_left": 12,
- "border_right": 12,
- "description": "",
- "file_format": "PNG",
- "sample_filename": "",
- "height": 1000,
- "width": 1000,
- "icc_profile": "sRGB IEC61966-2.1",
- "max_file_size": 1000,
- "max_width": null,
- "authorize_max_width": false,
- "crop_face_position": "EYE",
- "position": "South",
- "resolution": 72,
- "border_strategy": {
- "left": {
- "size": 1,
- "unit": "%"
}, - "top": {
- "size": 1,
- "unit": "%"
}, - "right": {
- "size": 1,
- "unit": "%"
}, - "bottom": {
- "size": 1,
- "unit": "%"
}
}
}
]
}
], - "smalltext": "4000: Adulte Hauts, Homewear Hauts, Porté"
}Delete an existing category and its internal dependencies (views, master images and internal associations). The ids of those internal links are never exposed.
| category_id required | number Id of category |
{ }Replace format.
| format_id required | number ID of format |
| smalltext | string Name of format |
| format_id | number ID of format |
| background_color | string Color or hexa |
| description | string Desciption of format |
| file_format | string (file_format) Enum: "JPEG" "PNG" "TIFF" "PSD" "JPG" "TIF" {"value":{"allowUnknown":true}} File format (JPEG, PNG, TIFF, PSD) |
| sample_filename | string |
| height | number px |
| width | number px |
| icc_profile | string ICC color profile (e.g. sRGB, Adobe RGB, CMYK, Display P3) |
| max_file_size | number kb |
| max_width | number px |
| authorize_max_width | boolean Default: false Autoriser les dimensions supérieures |
| position | string (Model165) Default: "Center" Enum: "NorthWest" "North" "NorthEast" "West" "Center" "East" "SouthWest" "South" "SouthEast" Position with border |
| resolution | number dpi |
object (border_strategy) | |
| crop_face_position | string (crop_face_position) Enum: "NOSE" "EYE" "NONE" Position where to crop the face |
{- "smalltext": "string",
- "format_id": 0,
- "background_color": "string",
- "description": "string",
- "file_format": "JPEG",
- "sample_filename": "string",
- "height": 0,
- "width": 0,
- "icc_profile": "string",
- "max_file_size": 0,
- "max_width": 0,
- "authorize_max_width": false,
- "position": "NorthWest",
- "resolution": 0,
- "border_strategy": {
- "top": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "bottom": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "left": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "right": {
- "color": "string",
- "unit": "px",
- "size": 0
}
}, - "crop_face_position": "NOSE"
}"string"Update formats.
| format_id required | number ID of format |
| smalltext | string Name of format |
| format_id | number ID of format |
| background_color | string Color or hexa |
| description | string Desciption of format |
| file_format | string (file_format) Enum: "JPEG" "PNG" "TIFF" "PSD" "JPG" "TIF" {"value":{"allowUnknown":true}} File format (JPEG, PNG, TIFF, PSD) |
| sample_filename | string |
| height | number px |
| width | number px |
| icc_profile | string ICC color profile (e.g. sRGB, Adobe RGB, CMYK, Display P3) |
| max_file_size | number kb |
| max_width | number px |
| authorize_max_width | boolean Default: false Autoriser les dimensions supérieures |
| position | string (Model185) Default: "Center" Enum: "NorthWest" "North" "NorthEast" "West" "Center" "East" "SouthWest" "South" "SouthEast" Position with border |
| resolution | number dpi |
object (border_strategy) | |
| crop_face_position | string (crop_face_position) Enum: "NOSE" "EYE" "NONE" Position where to crop the face |
{- "smalltext": "string",
- "format_id": 0,
- "background_color": "string",
- "description": "string",
- "file_format": "JPEG",
- "sample_filename": "string",
- "height": 0,
- "width": 0,
- "icc_profile": "string",
- "max_file_size": 0,
- "max_width": 0,
- "authorize_max_width": false,
- "position": "NorthWest",
- "resolution": 0,
- "border_strategy": {
- "top": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "bottom": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "left": {
- "color": "string",
- "unit": "px",
- "size": 0
}, - "right": {
- "color": "string",
- "unit": "px",
- "size": 0
}
}, - "crop_face_position": "NOSE"
}"string"Import categories and formats from an XLS file. The "VUES" sheet, holding the categories and their views, is required. The "FORMATS" sheet, holding the format definitions, is optional : formats are only created or updated, never deleted, so leaving it out simply means "no change to the formats".
A workbook without a usable "VUES" sheet is rejected with a 400 naming the missing sheet or columns. Columns left out of the file are not applied : the values held in database are kept. Lines missing one of the required columns are ignored and reported in "ignored_lines".
Each entry of "warnings" carries a stable "code" and its "params", so the caller can translate it, plus an English "message" to fall back on and a "severity" of "info" or "warning".
| file required | string <binary> XLS file containing specifications |
| options | string JSON string with format options, e.g. {"format": "std"} |
{- "success": true,
- "message": "string",
- "warnings": [
- {
- "code": "string",
- "params": { },
- "message": "string",
- "severity": "info"
}
], - "ignored_lines": [
- 0
]
}Update ONLY the ranking of the given categories. Non-destructive: views, master images and shooting-method links are left untouched (unlike the full category upsert). Used by the up/down reordering. Send the categories with their target ranking; smalltext and keywords are preserved server-side.
required | Array of objects (Model127) non-empty |
{- "categories": [
- {
- "category_id": 0,
- "ranking": 0
}
]
}{- "updated": 0
}Multipart upload of a master (reference) image for the view identified by its code, at the given position (0 = main). The binary is stored on the file server and its file_id is returned (the front does not use this file_id directly).
| category_id required | number Id of category |
| view_code required | string Code of the view |
| master_pos required | integer >= 0 Position of the master (0 = main) |
| file required | string <binary> image file (jpg/png) |
{- "file_id": "string"
}Delete the master (reference) image identified by its file_id from the view identified by its code. If the deleted image was the main one, the first remaining master is promoted to main.
| category_id required | number Id of category |
| view_code required | string Code of the view |
| file_id required | string File server id of the master to delete |
{- "deleted": true
}List references with stock items Return an array of references with a pagination of 100. You can set the offset of pagination with the header 'offset'. Response headers:
| stock_item_id | string id of the stock item |
| sort_by | string Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending. |
| batch_id | string id of the batch in which the stock item is stored |
| stock_item_status | string Status of the stock item, 10: Warehouse stock, 12: Picking, 15:Sent, 17:Sent from warehouse, 20: Receive, 30: Add to stock, 40: Inventory, 45: Transfer, 48: Enriched, 50: Prepare, 51: Client return, 60: Error, 70: Mark as dispatched, 75 : Back in warehouse, 90: Lost |
| date_cre | string creation date of the reference (in Grand Shooting) |
| date_mod | string last modification date of the reference (in Grand Shooting) |
| reference_id | string id of the reference |
| ref | string reference label identifier |
| ean | string main ean |
| eans | string alternatives ean |
| eans_extended | string rich ean information |
| univers | string univers, level 1 in catalog hierarchy |
| gamme | string gamme, level 2 in catalog hierarchy |
| family | string family, level 3 in catalog hierarchy |
| sku | string sku |
| brand | string brand |
| smalltext | string reference label |
| category_id | string product category identifier |
| product_ref | string product identifier |
| product_smalltext | string product label |
| gender | string gender |
| gender_smalltext | string gender |
| color | string color |
| hexa_color | string Code couleur RGB en hexa décimal |
| size | string size |
| collection | string collection |
| comment | string comment |
| photo | string URL of the reference preview image (set via POST /reference/{id}/photo) |
| tags | string tags |
| extra | string Extra data |
| shotlist_ids | string shotlist_ids reference belongs to |
| shotlist_override | string view override of the reference for the shotlist (only returned when filtering on shotlist_id) |
| online | string online date |
| account_id | integer >= 1 Account id for delegation usage |
| target_account_id | integer >= 1 Account id for delegation usage |
| offset | number >= 0 offset for pagination |
[- {
- "stock_items": [
- {
- "stock_item_id": 1,
- "batch_id": -1,
- "stock_item_status": 10,
- "smalltext": "string",
- "ean": "string",
- "star": true,
- "extra": { },
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}
], - "reference_id": 1,
- "ref": "string",
- "ean": "string",
- "eans": [
- "string"
], - "eans_extended": [
- {
- "ean": "string",
- "smalltext": "string",
- "star": true,
- "extra": { }
}
], - "univers": "string",
- "gamme": "string",
- "family": "string",
- "sku": "string",
- "brand": "string",
- "smalltext": "string",
- "category_id": 0,
- "product_ref": "string",
- "product_smalltext": "string",
- "gender": "string",
- "gender_smalltext": "string",
- "color": "string",
- "hexa_color": "string",
- "size": "string",
- "collection": "string",
- "comment": "string",
- "photo": "string",
- "tags": [
- "string"
], - "extra": { },
- "shotlist_ids": [
- 0
], - "shotlist_override": { },
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "online": "string"
}
]Add a reference in stock
| batch_id | number batch id |
| reference_id required | number reference id |
| account_id | number account id of the reference, defaults to account_id of the stock you create |
| smalltext | string Free label on stock item |
| ean | string |
| star | boolean |
| extra | object (Model91) |
| stock_item_status required | number Status of the stock object |
{- "batch_id": 0,
- "reference_id": 0,
- "account_id": 0,
- "smalltext": "string",
- "ean": "string",
- "star": true,
- "extra": { },
- "stock_item_status": 0
}{- "stock_items": [
- {
- "stock_item_id": 1,
- "batch_id": -1,
- "stock_item_status": 10,
- "smalltext": "string",
- "ean": "string",
- "star": true,
- "extra": { },
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24"
}
], - "reference_id": 1,
- "ref": "string",
- "ean": "string",
- "eans": [
- "string"
], - "eans_extended": [
- {
- "ean": "string",
- "smalltext": "string",
- "star": true,
- "extra": { }
}
], - "univers": "string",
- "gamme": "string",
- "family": "string",
- "sku": "string",
- "brand": "string",
- "smalltext": "string",
- "category_id": 0,
- "product_ref": "string",
- "product_smalltext": "string",
- "gender": "string",
- "gender_smalltext": "string",
- "color": "string",
- "hexa_color": "string",
- "size": "string",
- "collection": "string",
- "comment": "string",
- "photo": "string",
- "tags": [
- "string"
], - "extra": { },
- "shotlist_ids": [
- 0
], - "shotlist_override": { },
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "online": "string"
}Create a batch
| smalltext | string Name of the batch |
| type | string Type of the batch |
| code | string batch code (basically a barcode) |
| zone | string Zone where the batch is located |
{- "smalltext": "string",
- "type": "string",
- "code": "string",
- "zone": "string"
}{- "batch_id": 1,
- "type": "Bucket",
- "zone": "Warehouse A",
- "smalltext": "Bucket A14",
- "code": "1209834098"
}Get a stock item
| stock_item_id required | number >= 1 id of the stock item |
{- "stock_item_id": 1,
- "batch_id": 1,
- "stock_item_status": 10,
- "smalltext": "Bucket A14",
- "ean": "1209834098",
- "star": false,
- "extra": { },
- "date_cre": "2017-01-01T00:00:00.000Z",
- "date_mod": "2017-01-01T00:00:00.000Z"
}Update a stock item
| stock_item_id required | number >= 1 id of the stock item |
| stock_item_status | number Enum: 10 12 15 17 20 30 40 45 48 50 51 60 70 75 90 Status of the stock item, 10: Warehouse stock, 12: Picking, 15:Sent, 17:Sent from warehouse, 20: Receive, 30: Add to stock, 40: Inventory, 45: Transfer, 48: Enriched, 50: Prepare, 51: Client return, 60: Error, 70: Mark as dispatched, 75 : Back in warehouse, 90: Lost |
| batch_id | number >= -1 id of the batch in which the stock item is stored |
| smalltext | string |
| extra | object (Model11) |
{- "stock_item_status": 10,
- "batch_id": -1,
- "smalltext": "string",
- "extra": { }
}{- "stock_item_id": 1,
- "batch_id": 1,
- "stock_item_status": 10,
- "smalltext": "Bucket A14",
- "ean": "1209834098",
- "star": false,
- "extra": { },
- "date_cre": "2017-01-01T00:00:00.000Z",
- "date_mod": "2017-01-01T00:00:00.000Z"
}Modify batch information
| smalltext | string Name of the batch |
| type | string Type of the batch |
| code | string batch code (basically a barcode) |
| zone | string Zone where the batch is located |
{- "smalltext": "string",
- "type": "string",
- "code": "string",
- "zone": "string"
}{- "batch_id": 1,
- "type": "Bucket",
- "zone": "Warehouse A",
- "smalltext": "Bucket A14",
- "code": "1209834098"
}Return an array of look folders with a pagination.
You can set the offset of pagination with the header 'offset'. Response headers:
| offset | number >= 0 Default: 0 offset for pagination |
[- {
- "name": "Look 04/07/2022",
- "folder_id": 2
}
]You can create only 200 folders.
| name required | string |
{- "name": "Look 04/07/2022"
}{- "name": "Look 04/07/2022",
- "folder_id": 2
}Modify all fields of a look folder.
| folder_id required | number ID of look folder |
| name required | string |
{- "name": "Look 04/07/2022"
}{- "name": "Look 04/07/2022",
- "folder_id": 2
}Update specifics fields of a look folder.
| folder_id required | number ID of look folder |
| name | string |
{- "name": "Look 04/07/2022"
}{- "name": "Look 04/07/2022",
- "folder_id": 2
}Return an array of looks with pagination, sorting and filtering.
Pagination: set the offset with the header 'offset' (default 0) and the page size with the query param 'limit' (default 100, max 1000). Sorting: 'sort_by=field' (ascending) or 'sort_by=-field' (descending). Sortable fields: name, look_id, folder_id, status. Repeatable. Filtering: any of name, description, look_id, folder_id, status as query params.
| offset | number >= 0 Default: 0 offset for pagination |
[- {
- "name": "Ensemble marin 18",
- "description": "Haut DEDEDSS + bas FSDDVCD",
- "look_id": 2,
- "folder_id": 4,
- "status": "COMPLETED",
}
]Create a new look. You can choose a unique name. If the automatic look name feature is active on the web application, the field "name" is not allowed.
You can create only 1000 looks per folders.
| name | string |
| description | string |
| folder_id required | number >= 1 |
| status | string (status) Enum: "DRAFT" "COMPLETED" |
| thumbnail | string |
{- "name": "Ensemble marin 18",
- "description": "Haut DEDEDSS + bas FSDDVCD",
- "folder_id": 4,
- "status": "COMPLETED",
}{- "name": "Ensemble marin 18",
- "description": "Haut DEDEDSS + bas FSDDVCD",
- "look_id": 2,
- "folder_id": 4,
- "status": "COMPLETED",
}Modify all fields of a look. If the automatic look name feature is active on the web application, the field "name" is not allowed.
| look_id required | number ID of look |
| name | string |
| description | string |
| folder_id required | number >= 1 |
| status | string (status) Enum: "DRAFT" "COMPLETED" |
| thumbnail | string |
{- "name": "Ensemble marin 18",
- "description": "Haut DEDEDSS + bas FSDDVCD",
- "folder_id": 4,
- "status": "COMPLETED",
}{- "name": "Ensemble marin 18",
- "description": "Haut DEDEDSS + bas FSDDVCD",
- "look_id": 2,
- "folder_id": 4,
- "status": "COMPLETED",
}Update specifics fields of a look. If the automatic look name feature is active on the web application, the field "name" is not allowed.
| look_id required | number ID of look |
| name | string |
| description | string |
| folder_id | number >= 1 |
| status | string (status) Enum: "DRAFT" "COMPLETED" |
| thumbnail | string |
{- "name": "Ensemble marin 18",
- "description": "Haut DEDEDSS + bas FSDDVCD",
- "folder_id": 4,
- "status": "COMPLETED",
}{- "name": "Ensemble marin 18",
- "description": "Haut DEDEDSS + bas FSDDVCD",
- "look_id": 2,
- "folder_id": 4,
- "status": "COMPLETED",
}Return an array of references associated to look with a pagination.
You can set the offset of pagination with the header 'offset'. Response headers:
| look_id required | string ID of look |
| offset | number >= 0 Default: 0 offset for pagination |
[- {
- "ref": "LKFJRKLDM-001",
- "reference_id": 42,
- "look_reference_id": 1,
- "main": true
}
]Create a new look reference. It is not allowed to add the same reference on the same look.
You can create only 1000 references in a look.
| look_id required | string ID of look |
| ref required | string |
| main | boolean Default: false |
{- "ref": "LKFJRKLDM-001",
- "main": true
}{- "ref": "LKFJRKLDM-001",
- "reference_id": 42,
- "look_reference_id": 1,
- "main": true
}Get specific look reference.
| look_id required | number ID of look |
| look_reference_id required | number ID of look reference |
{- "ref": "LKFJRKLDM-001",
- "reference_id": 42,
- "look_reference_id": 1,
- "main": true
}Modify all fields of a look reference. It is not allowed to add the same reference on the same look.
| look_id required | number ID of look |
| look_reference_id required | number ID of look reference |
| ref required | string |
| main | boolean Default: false |
{- "ref": "LKFJRKLDM-001",
- "main": true
}{- "ref": "LKFJRKLDM-001",
- "reference_id": 42,
- "look_reference_id": 1,
- "main": true
}Update specifics fields of a look reference. It is not allowed to add the same reference on the same look.
| look_id required | number ID of look |
| look_reference_id required | number ID of look reference |
| ref | string |
| main | boolean Default: false |
{- "ref": "LKFJRKLDM-001",
- "main": true
}{- "ref": "LKFJRKLDM-001",
- "reference_id": 42,
- "look_reference_id": 1,
- "main": true
}Receives a base64-encoded log file from the desktop client and forwards it as an attachment to help@grand-shooting.com via the GS email infrastructure. The bearer token authenticates the uploader; the payload email field is treated as a display label only — security decisions use the authenticated user.
string <= 254 characters Email the user claims (label only). | |
| filename | string <= 80 characters Original filename of the log (label only). |
| contentBase64 required | string <= 20971520 characters Log file content, base64 encoded. |
{- "email": "string",
- "filename": "string",
- "contentBase64": "string"
}{- "ok": true
}Reserved to the support chatbot, authenticated with "Authorization: Bearer account_id, valid at most 600 seconds. The token cannot target another account (account_id header / query parameters) nor reach admin and support routes.
| account_id required | integer >= 1 Account the token gives read access to. |
| ttl | integer [ 60 .. 600 ] Default: 300 Validity in seconds (max 600). |
| ticket_ref required | string <= 128 characters Support conversation / ticket reference, kept in the token and the audit log. |
{- "account_id": 1,
- "ttl": 300,
- "ticket_ref": "string"
}{- "token": "string",
- "expires_in": 0,
- "account_id": 0
}{- "account_id": 0,
- "transfer_id": "string",
- "email": "string",
- "recipients": [
- "string"
], - "repo_id": "string",
- "files": [
- {
- "smalltext": "string",
- "path": "string",
- "filesize": 0,
- "width": 0,
- "height": 0,
- "thumbnail": "string",
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "file_id": "string",
- "blocks": [
- "string"
]
}
], - "transferstatus": 10
}Load transfer informations : files and share information
| transfer_id required | string uuid identifying transfer |
{- "account_id": 0,
- "transfer_id": "string",
- "email": "string",
- "recipients": [
- "string"
], - "repo_id": "string",
- "files": [
- {
- "smalltext": "string",
- "path": "string",
- "filesize": 0,
- "width": 0,
- "height": 0,
- "thumbnail": "string",
- "date_cre": "2019-08-24",
- "date_mod": "2019-08-24",
- "file_id": "string",
- "blocks": [
- "string"
]
}
], - "transferstatus": 10
}Sends transfer content to a sourcing project sourcing
| transfer_id required | string uuid identifying transfer |
| process_id required | string id of the process to check |
{- "status": "string",
- "desc": "string"
}Sends transfer content to a sourcing project sourcing
| transfer_id required | string uuid identifying transfer |
| files | Array of strings (Model131) list of files to send to sourcing, if not specified, all files will be sent |
| import_id | number Sourcing import id |
| append | boolean Add images to project or delete/insert images to projet (default true) |
{- "files": [
- "string"
], - "import_id": 0,
- "append": true
}{- "process_id": "string"
}[
]Return webhook
| address required | string URI where the webhook subscription should send the POST request when the event occurs. |
| topic required | string (topic) Enum: "pictures/create" "pictures/update" "pictures/delete" "references/create" "references/update" "references/delete" Event that triggers the webhook. |
{- "topic": "pictures/create"
}{- "topic": "pictures/create",
- "webhook_id": 217894
}Return webhook
| webhook_id required | number webhook id |
| address required | string URI where the webhook subscription should send the POST request when the event occurs. |
| topic required | string (topic) Enum: "pictures/create" "pictures/update" "pictures/delete" "references/create" "references/update" "references/delete" Event that triggers the webhook. |
{- "topic": "pictures/create"
}{- "topic": "pictures/create",
- "webhook_id": 217894
}