Tinder Profile Reviewer
Tinder Profile Reviewer · Actions GPT
Ionic Commerce | GPT Shopping API
Ionic GPT Shopping API -- Product Search & Recommendation for GPT Action & OpenAI ecosystem
GET /queryProduct Query | BasicQuery for product recommendations. GET Request with basic search parameters
POST /queryProduct Query | AdvancedQuery for product recommendations. POST Request with advanced search parameters
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "Ionic Commerce | GPT Shopping API",
"description": "Ionic GPT Shopping API -- Product Search & Recommendation for GPT Action & OpenAI ecosystem",
"contact": {
"email": "info@ioniccommerce.com"
},
"version": "0.1"
},
"servers": [
{
"url": "https://api.ioniccommerce.com/gpt"
}
],
"paths": {
"/query": {
"get": {
"summary": "Product Query | Basic",
"description": "Query for product recommendations. GET Request with basic search parameters",
"operationId": "ProductQuery",
"parameters": [
{
"description": "Query string for product or product category with attributes",
"required": true,
"schema": {
"type": "string",
"title": "Q",
"description": "Query string for product or product category with attributes",
"examples": [
"Extra Long Green Pool Noodle",
"LEGO Knight's Castle",
"Men's designer low top sneakers, white, size 12",
"Coffee beans"
]
},
"name": "q",
"in": "query"
},
{
"description": "Minimum price in cents",
"required": false,
"schema": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"title": "Min Price",
"description": "Minimum price in cents",
"examples": [
1000
]
},
"name": "min_price",
"in": "query"
},
{
"description": "Maximum price in cents",
"required": false,
"schema": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"title": "Max Price",
"description": "Maximum price in cents",
"examples": [
1000
]
},
"name": "max_price",
"in": "query"
},
{
"description": "Number of results to return",
"required": false,
"schema": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"title": "Num Results",
"description": "Number of results to return",
"default": 5,
"examples": [
5
]
},
"name": "num_results",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/QueryAPIResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"APIKeyHeader": []
}
]
},
"post": {
"summary": "Product Query | Advanced",
"description": "Query for product recommendations. POST Request with advanced search parameters",
"operationId": "ProductQueryPOST",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/QueryAPIRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/QueryAPIResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"APIKeyHeader": []
}
]
}
}
},
"components": {
"schemas": {
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"Link": {
"properties": {
"url": {
"type": "string",
"title": "Url"
},
"text": {
"type": "string",
"title": "Text"
},
"type": {
"type": "string",
"title": "Type"
}
},
"type": "object",
"required": [
"url",
"text",
"type"
],
"title": "Link"
},
"Message": {
"properties": {
"role": {
"$ref": "#/components/schemas/MessageRole"
},
"type": {
"$ref": "#/components/schemas/MessageType"
},
"content": {
"type": "string",
"title": "Content"
}
},
"type": "object",
"required": [
"role",
"type",
"content"
],
"title": "Message"
},
"MessageRole": {
"enum": [
"user",
"assistant",
"system"
],
"title": "MessageRole",
"description": "An enumeration."
},
"MessageType": {
"enum": [
"message",
"summary",
"filter",
"tag"
],
"title": "MessageType",
"description": "An enumeration."
},
"Product": {
"properties": {
"merchant_product_id": {
"type": "string",
"title": "Merchant Product Id"
},
"merchant_name": {
"type": "string",
"title": "Merchant Name"
},
"name": {
"type": "string",
"title": "Name"
},
"brand_name": {
"type": "string",
"title": "Brand Name"
},
"links": {
"items": {
"$ref": "#/components/schemas/Link"
},
"type": "array",
"title": "Links"
},
"thumbnail": {
"type": "string",
"title": "Thumbnail"
},
"upc": {
"type": "string",
"title": "Upc"
},
"status": {
"type": "string",
"title": "Status"
},
"price": {
"type": "string",
"title": "Price"
}
},
"type": "object",
"required": [
"merchant_product_id",
"merchant_name",
"name",
"links",
"thumbnail",
"status",
"price"
],
"title": "Product"
},
"Query": {
"properties": {
"query": {
"type": "string",
"title": "Query"
},
"num_results": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"title": "Num Results",
"default": 5
},
"min_price": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"title": "Min Price"
},
"max_price": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"title": "Max Price"
}
},
"type": "object",
"required": [
"query"
],
"title": "Query"
},
"QueryAPIRequest": {
"properties": {
"query": {
"$ref": "#/components/schemas/Query"
},
"session": {
"$ref": "#/components/schemas/Session"
},
"messages": {
"items": {
"$ref": "#/components/schemas/Message"
},
"type": "array",
"title": "Messages"
}
},
"type": "object",
"required": [
"query"
],
"title": "QueryAPIRequest"
},
"QueryAPIResponse": {
"properties": {
"token": {
"type": "string",
"title": "Token"
},
"results": {
"items": {
"$ref": "#/components/schemas/QueryResult"
},
"type": "array",
"title": "Results"
}
},
"type": "object",
"required": [
"token"
],
"title": "QueryAPIResponse"
},
"QueryResult": {
"properties": {
"query": {
"$ref": "#/components/schemas/Query"
},
"products": {
"items": {
"$ref": "#/components/schemas/Product"
},
"type": "array",
"title": "Products"
}
},
"type": "object",
"required": [
"query",
"products"
],
"title": "QueryResult"
},
"Session": {
"properties": {
"session_id": {
"type": "string",
"title": "Session Id"
},
"user_id": {
"type": "string",
"title": "User Id"
},
"locale": {
"type": "string",
"title": "Locale",
"default": "en-US"
}
},
"type": "object",
"title": "Session"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
}
},
"securitySchemes": {
"APIKeyHeader": {
"type": "apiKey",
"in": "header",
"name": "x-api-key"
}
}
}
}