Premium API Documentation

https://api-pizi.wizishop.com/premium/v1/

V1
Getting Started
API URL

The API should always be accessed over SSL.

https://api-pizi.wizishop.com/premium/v1/
Required Headers

You'll need to send some headers when making API calls, set the content type to JSON.

Content-type: application/json
Authentication

The Pizi API uses Token for authentication. Contact us here to obtain a Token key you'll use in your requests.

Remember that your Token is a secret! Do not share it with others or expose it in any client-side code (browsers, apps).

Production requests must be routed through your own backend server where your API key can be securely loaded from an environment variable or key management service.

All API requests should include your API key in an Authorization HTTP header as follows:

Authorization: Basic TOKEN
Status and error codes

All API queries return HTTP status codes that contain more information about the response.

2XX success

HTTP status codes on request success.

4XX and 5xx status codes
400 Bad Request

The server will not process the request.

403 Forbidden

You don’t have access to this resource.

404 Not Found

The resource isn’t available. This is often caused by querying for something that’s been deleted.

5xx Errors

An internal error occurred in Pizi

Product
POST /product

Create a product from image url.

Body
{
   "image_url": "Image Url",
   "locale": "Locale return ('fr', 'en', 'de', 'es', 'it', 'nl', 'pt', 'ja', 'zh', 'ru')",
   "product_context": "Product context",
   "shop_context": "Shop Context"
}
Return
{
   "name": "Name",
   "title": "title",
   "meta_description": "Meta description",
   "hook_markdown": " Hook in markdown",
   "hook_html": "Hook in HTML",
   "description_markdown": "Description in markdown",
   "description_html": "Description in HTML"
}