post https://distillery.pixlee.co/api/v2/media/file
Multipart/formdata Example
- file:
<binary data>
- json:
{
"album_id": 9996319, // [Required]
"title": "something something danger zone", // [Required]
"email": "[email protected]", // [Required] if connected_user_id is omitted
"username": "Dennis", // [Optional]
"approved": true, // [Required]
"avatar_url": "http://example.com/user-avatar.jpg", // [Optional]
"connected_user_id": 123456789, // [Optional] Not used if email is included
"vendor_id": "your_own_identifier", // [Optional] Associates this photo with an ID you own. Usually a user ID.
"product_skus": ["productA", "productB"], // [Optional] for adding product tags
"category_names": ["Clothing", "Shoes"], // [Optional] Used to copy the content to category albums (must match case sensitive category/tag name)
"connected_user": {"shirt_size": "M"} // [Optional] for storing additional misc info
}