openapi: 3.0.0
info:
description: |
API documentation for U-KOMI app
## Rate limiting
Requests exceeding 1 request per second per IP address may be rate limited. Rate-limited requests return `429 Too Many Requests`.
version: 1.0.1
title: U-KOMI API
contact:
email: info@u-komi.com
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
tags:
- name: Authentication
description: API authentication basics
- name: Account
description: Retrieve Account basics
- name: Reviews
description: Retrieve Product Reviews
- name: Products
description: Create, modify, review product meta data and review prouct summary
in the U-KOMI system.
- name: Orders
description: Create, modify and retrieve orders in the U-KOMI system. Orders
represents purchases made in the store. U-KOMI uses these orders to help
generate more reviews from past shoppers.
- name: Groups
description: Product Grouping allows you to create groups of related products
and share reviews between all the products in the same group.
- name: Q&A
description: Retrieve Questions and Answers for a given product using id.
- name: Visual Curation
description: Retrieve visual UGC (Instagram, X/Twitter, TikTok, YouTube, review
photos and admin uploads) at album, album-media and gallery level.
- name: Store Badges
description: Retrieve the badges a store publicly displays.
- name: FAQ
description: Retrieve published FAQ content as JSON, e.g. to render FAQs as static HTML.
paths:
"/visual_ugc/{API_KEY}/albums":
post:
tags:
- Visual Curation
summary: Retrieve all albums
operationId: visualUgcAlbums
description: >
Call api to retrieve all visual-curation albums for the account. Scoped
to the authenticated account. The access token may also be sent as a
Bearer token in the Authorization header.
parameters:
- name: API_KEY
description: API KEY provided by Vendor
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/VisualUgcAlbumsObject"
description: Access token and optional filters / pagination
required: true
responses:
"200":
description: List of albums
content:
application/json:
schema:
$ref: "#/components/schemas/VisualUgcAlbumsResponse"
"401":
description: Invalid API Key
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"410":
description: Unauthorized Access
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"/visual_ugc/{API_KEY}/albums/{album_id}/media":
post:
tags:
- Visual Curation
summary: Retrieve all media in an album
operationId: visualUgcAlbumMedia
description: >
Call api to retrieve all media (Instagram, X/Twitter, TikTok, YouTube,
review photos, admin uploads) inside an album, normalized into a single
shape. Cursor-paginated and scoped to the authenticated account. The
access token may also be sent as a Bearer token in the Authorization
header.
parameters:
- name: API_KEY
description: API KEY provided by Vendor
in: path
required: true
schema:
type: string
- name: album_id
description: Encoded album id (the album_id returned by the albums endpoint)
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/VisualUgcAlbumMediaObject"
description: Access token and optional filters / sorting / pagination
required: true
responses:
"200":
description: List of album media
content:
application/json:
schema:
$ref: "#/components/schemas/VisualUgcAlbumMediaResponse"
"401":
description: Invalid API Key
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"404":
description: Album not found
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"410":
description: Unauthorized Access
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"/visual_ugc/{API_KEY}/galleries":
post:
tags:
- Visual Curation
summary: Retrieve all galleries
operationId: visualUgcGalleries
description: >
Call api to retrieve galleries and their linked album. Scoped to the
authenticated account. The access token may also be sent as a Bearer
token in the Authorization header.
parameters:
- name: API_KEY
description: API KEY provided by Vendor
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/VisualUgcGalleriesObject"
description: Access token and optional pagination
required: true
responses:
"200":
description: List of galleries
content:
application/json:
schema:
$ref: "#/components/schemas/VisualUgcGalleriesResponse"
"401":
description: Invalid API Key
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"410":
description: Unauthorized Access
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/auth/access_token:
post:
tags:
- Authentication
summary: Get access token
operationId: access_token
description: >-
access_token are used to authenticate and authorize an account. An
access_token is required in non-public API calls to ensure private
account data is accessible only by authorized users.
access_token is valid for 14 days from the date of its creation.
⚠️ Note: If the token is not used within the initial 14-day window, it will expire and require regeneration.
requestBody: content: application/x-www-form-urlencoded: schema: type: object properties: api_key: description: API KEY provided by Vendor type: string api_secret: description: API Secret provided by Vendor type: string required: - api_key - api_secret required: true responses: "200": description: Access Token to access non-public API calls content: application/json: schema: $ref: "#/components/schemas/AuthenticationResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key and/or API Secret content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/account/{API_KEY}/view_basic": post: tags: - Account summary: Retrieve account details operationId: account_basic description: | Call api to retrieve account details. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: type: object properties: access_token: description: ACCESS TOKEN provided by API type: string required: - access_token required: true responses: "200": description: View account details content: application/json: schema: $ref: "#/components/schemas/AccountDetailsResponse" "401": description: Missing API Key and/or API Secret content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Something wrong with account configuration. Please contact U-KOMI Support content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/reviews/{API_KEY}/view": get: tags: - Reviews summary: Retrieve all reviews operationId: allreview description: > Call api for all review and Pass data in given format to get selected review parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: access_token description: ACCESS TOKEN provided by API in: query required: true schema: type: string - name: from_id description: Get review after selected id Eg.12345 in: query required: false schema: type: string - name: customer_id description: Get review from customer id Eg.cust. Use customers to specify multiple customer ids. in: query required: false schema: type: string - name: customers description: | Get reviews from multiple customer ids. Pass an array (customers[]=cust_1&customers[]=cust_2) or a comma-separated string (customers=cust_1,cust_2). Up to 100 customer ids are allowed. If customer_id is also passed, reviews matching any of the given customer ids are returned. in: query required: false schema: oneOf: - type: array items: type: string - type: string style: form explode: true example: - cust_1 - cust_2 - name: from_date description: Get review after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: updated_date description: Get data updated/created after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: count description: Number of reviews to return eg.10 in: query required: false schema: type: string - name: page description: Page number to return reviews for eg.2 in: query required: false schema: type: string - name: likes description: Add likes in result Eg.0/1. 0 is default in: query required: false schema: type: string - name: custom_questions description: Add custom questions in result Eg.0/1. 0 is default in: query required: false schema: type: string - name: question_public description: Get private/public questions in result Eg.0/1. 1 is default public in: query required: false schema: type: string - name: question_enable description: Get disable/enable questions in result Eg.0/1. 1 is default enable in: query required: false schema: type: string - name: deleted description: Include unpublished reviews Eg.0/1 in: query required: false schema: type: string - name: sort description: "Responses can be sorted by: date/stars/like/sentiment/buyer/picture/response" in: query required: false schema: type: string - name: sort_order description: Sorting order. Option is asc/desc in: query required: false schema: type: string - name: stars description: Star rating for the product (1 to 5) Eg.5 in: query required: false schema: type: string - name: stars_sorting description: Options are greater/less/equal. Default is equal in: query required: false schema: type: string - name: post_type description: Options are email/import/website/line/inline_form. You can use multiple by comma separated. Default is null in: query required: false schema: type: string - name: review_type description: Options are site/product/all. Default is all in: query required: false schema: type: string - name: product_id description: Product id. Default is all in: query required: false schema: type: string - name: group description: Group status are true/false. Default is false in: query required: false schema: type: string - name: group_name description: Group name. Default is blank in: query required: false schema: type: string - name: label description: Label name. Default is blank. Comma seprated for multiple in: query required: false schema: type: string responses: "200": description: View all review content: application/json: schema: $ref: "#/components/schemas/ViewAllReviewResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key / Customer limit exceeded. Max 100 customers are allowed. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Action not found "405": description: Product not found. zero product "406": description: Review not found. zero review / Invalid param customers. Accepted format is an array of customer ids. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Product id is not valid "408": description: Review id is not valid "409": description: Stars rating is not valid "410": description: Unauthorized Access "411": description: Something wrong with account configuration. Please contact U-KOMI Support. "/reviews/{API_KEY}/view_basic": get: tags: - Reviews summary: Retrieve all reviews operationId: view_basic description: > Call api for all review and Pass data in given format to get selected review parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: from_id description: Get review after selected id Eg.12345 in: query required: false schema: type: string - name: from_date description: Get review after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: updated_date description: Get data updated/created after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: count description: Number of reviews to return eg.10 in: query required: false schema: type: string - name: page description: Page number to return reviews for eg.2 in: query required: false schema: type: string - name: likes description: Add likes in result Eg.0/1. 0 is default in: query required: false schema: type: string - name: custom_questions description: Add custom questions in result Eg.0/1. 0 is default in: query required: false schema: type: string - name: sort description: "Responses can be sorted by: date/stars/like/sentiment/buyer/picture/response" in: query required: false schema: type: string - name: sort_order description: Sorting order. Option is asc/desc in: query required: false schema: type: string - name: stars description: Star rating for the product (1 to 5) Eg.5 in: query required: false schema: type: string - name: stars_sorting description: Options are greater/less/equal. Default is equal in: query required: false schema: type: string - name: post_type description: Options are email/import/website/line/inline_form. You can use multiple by comma separated. Default is null in: query required: false schema: type: string - name: review_type description: Options are site/product/all. Default is all in: query required: false schema: type: string - name: product_id description: Product id. Default is all in: query required: false schema: type: string - name: group description: Group status are true/false. Default is false in: query required: false schema: type: string - name: group_name description: Group name. Default is blank in: query required: false schema: type: string - name: label description: Label name. Default is blank. Comma seprated for multiple in: query required: false schema: type: string responses: "200": description: View all review content: application/json: schema: $ref: "#/components/schemas/ViewOnlyReviewsResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Action not found "405": description: Product not found. zero product "406": description: Review not found. zero review content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Product id is not valid "408": description: Review id is not valid "409": description: Stars rating is not valid "410": description: Unauthorized Access "411": description: Something wrong with account configuration. Please contact U-KOMI Support. "/reviews/{API_KEY}/review_with_orders": post: tags: - Reviews summary: Retrieve all reviews with orders operationId: all-reviews-with-order description: > Call api for all review and Pass data in given format to get selected review with orders parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ViewReviewObject" description: Review param to fetch review according to it form the U-KOMI system required: true responses: "200": description: View all review content: application/json: schema: $ref: "#/components/schemas/ViewAllReviewWithOrderResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Action not found "405": description: Product not found. zero product "406": description: Review not found. zero review content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Product id is not valid "408": description: Review id is not valid "409": description: Stars rating is not valid "/reviews/{API_KEY}/groups_review_summary": post: tags: - Reviews summary: Retrieve review summary for given groups operationId: groups-review-summary description: | Call api to retrieve review summary for group(s) with filter parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/GroupReviewSummaryParam" description: Groups param to fetch review summary form the U-KOMI system required: true responses: "200": description: Review summary for groups content: application/json: schema: $ref: "#/components/schemas/ReviewSummaryResponse" "403": description: Groups limit exceeded. With filter merge 0, max 1000 groups are allowed. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/reviews/{API_KEY}/customers_review_summary": post: tags: - Reviews summary: Retrieve review summary for given customer id operationId: customers-review-summary description: | Call api to retrieve review summary for customer(s) with filter parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CustomerReviewSummaryParam" description: Customer ids param to fetch review summary form the U-KOMI system required: true responses: "200": description: Review summary for Customers content: application/json: schema: $ref: "#/components/schemas/CustomerReviewSummaryResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Customer id limit exceeded. With filter merge 0, max 1000 customers are allowed. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/reviews/{API_KEY}/{review_type}/filtered_review_summary": post: tags: - Reviews summary: Retrieve filtered review summary operationId: filtered_review_summary description: > Call api with filter by passing API Key and review type you can receive filtered review summary parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: review_type description: Review type (site/product/all) in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/FilterForReviewSummaryParam" description: Filter param to fetch review summary form the U-KOMI system required: true responses: "200": description: View all review summary content: application/json: schema: $ref: "#/components/schemas/ReviewSummaryResponse" "406": description: No reviews found. "410": description: Review type specified not found. "/reviews/{API_KEY}/{review_type}/review_summary": get: tags: - Reviews summary: Retrieve review summary operationId: review_by_review_type description: | By passing API Key and review type you can receive review summary parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: review_type description: Review type (site/product/all) in: path required: true schema: type: string - name: product_id description: Product id. Default is all in: query required: false schema: type: string - name: group description: Group status are true/false. Default is false in: query required: false schema: type: string - name: group_name description: Group name. Default is blank in: query required: false schema: type: string - name: ai_summary description: Include AI-generated summary in the response. Options are 0/1. Default is 0 (exclude summary). in: query required: false schema: type: string - name: q_n_a_summary description: Include Q&A summary in the response. Options are 0/1. Default is 0 (exclude summary). in: query required: false schema: type: string - name: rating_breakdown description: Include rating breakdown in the response. Options are 0/1. Default is 0 (exclude breakdown). in: query required: false schema: type: string responses: "200": description: View all review summary content: application/json: schema: $ref: "#/components/schemas/ReviewSummaryResponse" "406": description: No reviews found. "410": description: Review type specified not found. "/reviews/{API_KEY}/{review_id}/review": get: tags: - Reviews summary: Retrieve selected review operationId: review_by_id description: | Call api with review id to get selected review parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: access_token description: ACCESS TOKEN provided by API in: query required: true schema: type: string - name: review_id description: Review id in: path required: true schema: type: string - name: deleted description: 'Include unpublished reviews Eg.0/1. Each entry of review_images_with_status is {"url": ..., "deleted": 0|1}; deleted=1 also returns unpublished photos/videos there.' in: query required: false schema: type: string responses: "200": description: View all review content: application/json: schema: $ref: "#/components/schemas/ViewReviewResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Action not found "405": description: Product not found. zero product "406": description: Review not found. zero review "410": description: Unauthorized Access "411": description: Something wrong with account configuration. Please contact U-KOMI Support. "/reviews/{API_KEY}/{product_id}/product": get: tags: - Reviews summary: Retrieve reviews of selected products operationId: product/review description: | Call api get selected product's reviews parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: access_token description: ACCESS TOKEN provided by API in: query required: true schema: type: string - name: product_id description: ID of the product to retrieve reviews in: path required: true schema: type: string - name: count description: Number of reviews to return eg.10 in: query required: false schema: type: string - name: page description: Page number to return reviews for eg.2 in: query required: false schema: type: string - name: sort description: "Responses can be sorted by: date/stars/like/sentiment/buyer/picture/response" in: query required: false schema: type: string - name: sort_order description: Sorting order. Option is asc/desc in: query required: false schema: type: string - name: stars description: Star rating for the product (1 to 5) Eg.5 in: query required: false schema: type: string - name: stars_sorting description: Options are greater/less/equal. Default is equal in: query required: false schema: type: string - name: customer_id description: Filter reviews by customer ID. in: query required: false schema: type: string responses: "200": description: View all review content: application/json: schema: $ref: "#/components/schemas/ViewAllProductReviewResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Action not found "405": description: Product not found. zero product "406": description: Review not found. zero review "407": description: Product id is not valid "409": description: Stars rating is not valid "410": description: Unauthorized Access "411": description: Something wrong with account configuration. Please contact U-KOMI Support. "/inline_review_form_token/{API_KEY}/get": post: tags: - Reviews summary: Get inline review form token from U-KOMI system operationId: inline-review-form-token description: | Pass order_ids and product_ids in given format to get verification token parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/InlineReviewFormTokenRequest" description: Order ID and Product ID that needs to be get verification token from the U-KOMI system required: true responses: "200": description: All/at least one verification toke received from given data. content: application/json: schema: $ref: "#/components/schemas/InlineReviewFormTokenResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No order data received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Invalid Order data passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/products/{API_KEY}/view": post: tags: - Products summary: Retrieve Products operationId: products/retrieve description: | Just call api with out passing any data and actions parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ViewProductObject" description: Product param to fetch product according to it form the U-KOMI system required: true responses: "200": description: View all products content: application/json: schema: $ref: "#/components/schemas/ViewProductResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Unauthorized Access content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: No record found content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Passed param from_date or updated_date is invalid. Accepted format is Y-m-d. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "408": description: Something wrong with account configuration. Please contact U-KOMI Support. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/products/{API_KEY}/view_basic": post: tags: - Products summary: Retrieve Products operationId: products/retrieve/basic description: | Just call api with out passing any data and actions parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ViewBasicProductObject" description: Product param to fetch product according to it form the U-KOMI system required: true responses: "200": description: View all products content: application/json: schema: $ref: "#/components/schemas/ViewProductBasicResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Unauthorized Access content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: No record found content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Passed param from_date or updated_date is invalid. Accepted format is Y-m-d. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "408": description: Something wrong with account configuration. Please contact U-KOMI Support. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/products/{API_KEY}/product": post: tags: - Products summary: Retrieve product details by product ID operationId: products/retrieve/single description: > Pass a single product_id or a comma-separated list of product_ids to fetch product details. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/RetrieveProductObject" description: Product retrieval parameters (access_token and product_id) required: true responses: "200": description: Retrieve product details content: application/json: schema: $ref: "#/components/schemas/RetrieveProductResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Unauthorized Access content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Product ID not specified or Invalid Product ID content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "408": description: Something wrong with account configuration. Please contact U-KOMI Support. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "429": description: Too many requests. Please try again later. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/products/{API_KEY}/create": post: tags: - Products summary: Create product in U-KOMI system operationId: products/create description: | Pass product data in given format to create product parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateProducts" description: Products object that needs to be added to the U-KOMI system required: true responses: "200": description: Create Product Status content: application/json: schema: $ref: "#/components/schemas/CreateProductResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No product data received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Invalid product data passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/products/{API_KEY}/{product_id}/{group_status}/review_summary": get: tags: - Products summary: get product review summary operationId: review_summary description: > By passing API Key and product id you can receive product review summary which can be used for Rich Snippets parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: product_id in: path description: ID of the product to retrieve reviews required: true schema: type: string - name: group_status in: path description: If product is belong to group and you want to get whole group data eg.true/false required: true schema: type: string responses: "200": description: Review Summary for Given Product ID content: application/json: schema: $ref: "#/components/schemas/ReviewSummaryResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Invalid Product ID or Product ID not specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/products/{API_KEY}/{product_id}/{review_code}/review_meta": get: tags: - Products summary: get review title and description in og:title and og:description meta tags for given review_code and product_id operationId: review_meta description: > By passing API Key, product id and review_code you can receive product review in meta tags. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: product_id in: path description: ID of the product to retrieve reviews required: true schema: type: integer - name: review_code in: path description: review_code from Review URL required: true schema: type: string responses: "200": description: Review Meta for Given Product ID and Review Code content: application/json: schema: $ref: "#/components/schemas/ReviewMetaResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Invalid Product ID or Product ID not specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: Invalid Review Code content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/blacklist_products/{API_KEY}/view": post: tags: - Products summary: Retrieve Blacklisted Products operationId: blacklisted_products/retrieve description: | Just call api with out passing any data and actions parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ViewBlacklistProductObject" description: Product param to fetch product according to it form the U-KOMI system required: true responses: "200": description: View all blacklisted products content: application/json: schema: $ref: "#/components/schemas/ViewBlacklistProductResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Unauthorized Access content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: No record found content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Invalid product id passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Wrong action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/blacklist_products/{API_KEY}/create": post: tags: - Products summary: Add blacklist product in U-KOMI system operationId: blacklisted_products/create description: | Pass product id in given format to add blacklisted product parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateBlacklistProducts" description: Product ids that needs to be added to the U-KOMI system required: true responses: "200": description: Create Blacklist Product Status content: application/json: schema: $ref: "#/components/schemas/CreateBlacklistProductResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No product data received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Invalid product data passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/blacklist_products/{API_KEY}/delete": post: tags: - Products summary: Delete blacklist product in U-KOMI system operationId: blacklisted_products/delete description: | Pass product id in given format to delete blacklisted product parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateBlacklistProducts" description: Blacklist product ids that needs to be delete to the U-KOMI system required: true responses: "200": description: Delete Product Status content: application/json: schema: $ref: "#/components/schemas/CreateBlacklistProductResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No product data received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Invalid product data passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/orders/{API_KEY}/": post: tags: - Orders summary: Retrieve Orders operationId: order/retrieve description: | Just call api with out passing any data and actions parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ViewOrderObject" description: Order param to fetch order according to it form the U-KOMI system required: true responses: "200": description: View all Orders content: application/json: schema: $ref: "#/components/schemas/ViewOrderResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/orders/{API_KEY}/create": post: tags: - Orders summary: Create order in U-KOMI system operationId: orders/create description: | Pass order data in given format to create order Orders that already exist in U-KOMI are skipped, and so are their products. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreateOrder" description: Order object that needs to be added to the U-KOMI system required: true responses: "200": description: Create Order Status content: application/json: schema: $ref: "#/components/schemas/CreateOrderResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No order data received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Invalid Order data passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/orders/{API_KEY}/cancel": post: tags: - Orders summary: Cancel order in U-KOMI system operationId: orders/cancel description: >- This call stops U-KOMI sending out mails after order for the specific order and product. If you don't specify which product in the order then MAPS are not sent for all products in that order. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CancelOrderObject" description: Cancel Order object containing order_id and product_ids that needs to be cancelled U-KOMI system required: true responses: "200": description: Cancel Order Status content: application/json: schema: $ref: "#/components/schemas/CancelOrderResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No order data received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Invalid Order data passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/groups/{API_KEY}/": post: tags: - Groups summary: Retrieve all groups of account operationId: retrieve description: | Just call api with out passing any data and actions parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ViewAllGroupObject" description: Group object that needs to be added to the U-KOMI system required: true responses: "200": description: View all groups content: application/json: schema: $ref: "#/components/schemas/ViewAllGroupResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Passed param from_date or updated_date is invalid. Accepted format is Y-m-d. content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/groups/{API_KEY}/create": post: tags: - Groups summary: Create group in U-KOMI system operationId: groups/create description: | Pass group data in given format to create group parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CreatGroupObject" description: Group name that needs to be added to the U-KOMI system required: true responses: "200": description: Create group content: application/json: schema: $ref: "#/components/schemas/CreatGroupResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No group name received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Group name is already exist content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/groups/{API_KEY}/products": post: tags: - Groups summary: Add/ Remove Products form groups in U-KOMI system operationId: manage/product description: | Pass order data in given format to add/remove product parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ProductGroupsObject" description: Product id that needs to be added/remove to groups base on action in the U-KOMI system required: true responses: "200": description: Add/remove product content: application/json: schema: $ref: "#/components/schemas/ProductGroupsResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: Invalid Group Name passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Group Name does not exist content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Invalid action for product content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/groups/{API_KEY}/view": post: tags: - Groups summary: Retrieve products for specific group operationId: group/view description: | By passing group name you can retrieve product list to that group parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ViewGroupsObject" description: By passing group name you can retrieve product list to that group required: true responses: "200": description: Get all products belong to passed group name content: application/json: schema: $ref: "#/components/schemas/ViewGroupsResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: Invalid Group Name passed content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Group Name does not exist content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Group done not contains any products content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/groups/{API_KEY}/delete": post: tags: - Groups summary: Delete a group operationId: groups/delete description: | Pass group data in given format to delete group parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/DeleteGroupObject" description: Group name that needs to be deleted to the U-KOMI system required: true responses: "200": description: Delete group content: application/json: schema: $ref: "#/components/schemas/DeleteGroupResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No group name received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Group name does not exist content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Group contains products content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/questions/{API_KEY}": get: tags: - Q&A summary: Retrieve all Question and Answer operationId: allquestion description: | Call api to get all question and answer parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: access_token description: ACCESS TOKEN provided by API in: query required: true schema: type: string - name: grab_all description: "Get all questions. Options: 1/0. Include Bazora: 1, otherwise No. The default is 0." in: query required: false schema: type: string - name: from_date description: Get questions after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: updated_date description: Get questions updated/created after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: count description: Number of questions to return eg.10 in: query required: false schema: type: string - name: page description: Page number to return questions for eg.2 in: query required: false schema: type: string - name: label description: Label name. Default is blank. Comma seprated for multiple in: query required: false schema: type: string - name: published description: "Get published/unpublished questions. eg.0 for unpublished, 1 for published, all. Default value is all " in: query required: false schema: type: string responses: "200": description: View all review content: application/json: schema: $ref: "#/components/schemas/ViewAllQuestionResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Questions and answer is not found content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "407": description: Wrong action specified "408": description: Something wrong with account configuration "410": description: Unauthorized Access "411": description: Something wrong with account configuration. Please contact U-KOMI Support. "/questions/{API_KEY}/{product_id}": get: tags: - Q&A summary: Retrieve selected question base on product id operationId: questions description: | Call api to get all question of selected product id parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: access_token description: ACCESS TOKEN provided by API in: query required: true schema: type: string - name: product_id description: ID of the product to retrieve reviews in: path required: true schema: type: string responses: "200": description: View all question and answer for selected products content: application/json: schema: $ref: "#/components/schemas/ViewQuestionResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Product ID not specified "405": description: Product id is not valid "406": description: Questions and answer is not found for this product "407": description: Wrong action specified "408": description: Something wrong with account configuration "410": description: Unauthorized Access "411": description: Something wrong with account configuration. Please contact U-KOMI Support. "/questions/{API_KEY}/{product_id}/count": get: tags: - Q&A summary: Retrieve question count base on product id operationId: questions_count description: | Call api to get question count of selected product id parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: product_id description: ID of the product to retrieve reviews in: path required: true schema: type: string responses: "200": description: View all question and answer for selected products content: application/json: schema: $ref: "#/components/schemas/ViewQuestionCountResponse" "401": description: Invalid/Expired Access Token content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Product ID not specified "405": description: Product id is not valid "407": description: Wrong action specified "408": description: Something wrong with account configuration "/reviews/{API_KEY}/{review_id}/review_basic": get: tags: - Reviews summary: Retrieve selected review (basic) operationId: review_by_id_basic description: > Retrieve a single review by its id. The basic response omits reviewer personal information such as name and email. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: review_id description: Review id in: path required: true schema: type: string responses: "200": description: Selected review content: application/json: schema: $ref: "#/components/schemas/ViewReviewBasicResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Review not found "408": description: Review id is not valid "/reviews/{API_KEY}/{product_id}/product_basic": get: tags: - Reviews summary: Retrieve reviews of selected product (basic) operationId: product_review_basic description: > Retrieve the reviews of a product. The basic response omits reviewer personal information such as name and email. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: product_id description: ID of the product to retrieve reviews in: path required: true schema: type: string - name: count description: Number of reviews to return eg.10 in: query required: false schema: type: string - name: page description: Page number to return reviews for eg.2 in: query required: false schema: type: string - name: sort description: "Responses can be sorted by: date/stars/like/sentiment/buyer/picture/response" in: query required: false schema: type: string - name: sort_order description: Sorting order. Option is asc/desc in: query required: false schema: type: string - name: stars description: Star rating for the product (1 to 5) Eg.5 in: query required: false schema: type: string - name: stars_sorting description: Options are greater/less/equal. Default is equal in: query required: false schema: type: string responses: "200": description: Product reviews content: application/json: schema: $ref: "#/components/schemas/ViewAllProductReviewBasicResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: Product not found "406": description: Review not found "407": description: Product id is not valid "409": description: Stars rating is not valid "/reviews/{API_KEY}/review_with_orders_basic": post: tags: - Reviews summary: Retrieve reviews with order details (basic) operationId: review_with_orders_basic description: > Retrieve reviews together with their related order details. The basic response omits reviewer and buyer personal information such as name and email. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ReviewWithOrdersBasicObject" description: Optional filters for the reviews to return responses: "200": description: Reviews with order details content: application/json: schema: $ref: "#/components/schemas/ReviewWithOrdersBasicResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Review not found, or a passed date is invalid. Accepted format is Y-m-d. "409": description: Stars rating is not valid "/reviews/{API_KEY}/{review_id}/like": post: tags: - Reviews summary: Like or dislike a review operationId: review_like description: > Record a like or a dislike for a review. Dislikes are only accepted when dislikes are enabled for your account. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: review_id description: Review id in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ReviewLikeObject" description: Vote details responses: "200": description: Updated like state for the review content: application/json: schema: $ref: "#/components/schemas/ReviewLikeResponse" "400": description: Invalid request parameter content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Dislikes are not enabled for this account "404": description: Review not found "429": description: Too many requests. Please try again shortly. "/reviews/{API_KEY}/{review_id}/likes": get: tags: - Reviews summary: Retrieve like count for a review operationId: review_likes description: > Retrieve the like (and dislike) count for a review. Pass user_identifier to also receive that user's current vote. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: review_id description: Review id in: path required: true schema: type: string - name: user_identifier description: Optional identifier of the current user, to return that user's vote in: query required: false schema: type: string responses: "200": description: Like state for the review content: application/json: schema: $ref: "#/components/schemas/ReviewLikeResponse" "400": description: Invalid request parameter content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Review not found "/reviews/{API_KEY}/likes": get: tags: - Reviews summary: Retrieve like counts for multiple reviews operationId: reviews_likes_batch description: > Retrieve the like (and dislike) counts for several reviews at once. Pass review_ids as a comma separated list (up to 100). parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: review_ids description: Comma separated list of review ids (up to 100) eg.abc123,def456 in: query required: true schema: type: string - name: user_identifier description: Optional identifier of the current user, to return that user's vote in: query required: false schema: type: string responses: "200": description: Like states for the requested reviews content: application/json: schema: $ref: "#/components/schemas/ReviewLikesListResponse" "400": description: Missing or invalid review_ids content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/questions/{API_KEY}/all_questions_basic": get: tags: - Q&A summary: Retrieve all questions and answers (basic) operationId: all_questions_basic description: > Retrieve all questions and answers. The basic response omits the questioner's email. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: grab_all description: "Get all questions. Options: 1/0. Include community questions: 1, otherwise No. The default is 0." in: query required: false schema: type: string - name: from_date description: Get questions after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: updated_date description: Get questions updated/created after selected date Eg.2017-11-03 in: query required: false schema: type: string - name: count description: Number of questions to return eg.10 in: query required: false schema: type: string - name: page description: Page number to return questions for eg.2 in: query required: false schema: type: string - name: label description: Label name. Default is blank. Comma seprated for multiple in: query required: false schema: type: string - name: published description: "Get published/unpublished questions. eg.0 for unpublished, 1 for published, all. Default value is all " in: query required: false schema: type: string responses: "200": description: All questions and answers content: application/json: schema: $ref: "#/components/schemas/ViewAllQuestionBasicResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: Questions and answer is not found, or a passed date is invalid. Accepted format is Y-m-d. "/questions/{API_KEY}/{product_id}/questions_basic": get: tags: - Q&A summary: Retrieve questions of a product (basic) operationId: product_questions_basic description: > Retrieve the questions and answers of a product. The basic response omits the questioner's email. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: product_id description: ID of the product to retrieve questions in: path required: true schema: type: string responses: "200": description: Questions and answers for the product content: application/json: schema: $ref: "#/components/schemas/ViewQuestionBasicResponse" "403": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Product ID not specified "405": description: Product id is not valid "406": description: Questions and answer is not found for this product "/questions/{API_KEY}/{question_id}/like": post: tags: - Q&A summary: Like or dislike a question operationId: question_like description: > Record a like or a dislike for a question. Dislikes are only accepted when dislikes are enabled for your account. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: question_id description: Question id in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/QuestionLikeObject" description: Vote details responses: "200": description: Updated like state for the question content: application/json: schema: $ref: "#/components/schemas/QuestionLikeResponse" "400": description: Invalid request parameter content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Dislikes are not enabled for this account "404": description: Question not found "429": description: Too many requests. Please try again shortly. "/questions/{API_KEY}/{question_id}/likes": get: tags: - Q&A summary: Retrieve like count for a question operationId: question_likes description: > Retrieve the like (and dislike) count for a question. Pass user_identifier to also receive that user's current vote. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: question_id description: Question id in: path required: true schema: type: string - name: user_identifier description: Optional identifier of the current user, to return that user's vote in: query required: false schema: type: string responses: "200": description: Like state for the question content: application/json: schema: $ref: "#/components/schemas/QuestionLikeResponse" "400": description: Invalid request parameter content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "404": description: Question not found "/questions/{API_KEY}/likes": get: tags: - Q&A summary: Retrieve like counts for multiple questions operationId: questions_likes_batch description: > Retrieve the like (and dislike) counts for several questions at once. Pass question_ids as a comma separated list (up to 100). parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: question_ids description: Comma separated list of question ids (up to 100) eg.q1,q2,q3 in: query required: true schema: type: string - name: user_identifier description: Optional identifier of the current user, to return that user's vote in: query required: false schema: type: string responses: "200": description: Like states for the requested questions content: application/json: schema: $ref: "#/components/schemas/QuestionLikesListResponse" "400": description: Missing or invalid question_ids content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/v1/{API_KEY}/review_form_fields": post: tags: - Reviews summary: Retrieve review form fields operationId: review_form_fields description: > Retrieve the fields and labels needed to render a review form for a product. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ReviewFormFieldsObject" description: Product to build the form for required: true responses: "200": description: Review form configuration and fields content: application/json: schema: $ref: "#/components/schemas/ReviewFormFieldsResponse" "400": description: Missing API Key or product_id content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/v1/{API_KEY}/review_submit": post: tags: - Reviews summary: Submit a review operationId: review_submit description: | Submit a review. A verification email is sent to confirm the review. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ReviewSubmitObject" description: Review to submit required: true responses: "200": description: Review received content: application/json: schema: $ref: "#/components/schemas/ReviewSubmitResponse" "400": description: Missing API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "409": description: A review submission for this order was already received today "422": description: One or more fields are invalid content: application/json: schema: $ref: "#/components/schemas/ReviewSubmitFieldErrorResponse" "/orders/{API_KEY}/customer_order": post: tags: - Orders summary: Retrieve a customer's orders operationId: customer_order description: | Retrieve a customer's orders along with their products and, where a review is still pending, a review token. Identify the customer by customer_id or email; if both are passed, customer_id is used. Each product line also returns is_review_submitted, is_cancelled and reviewed_at. Bulk mode: send customer_ids (up to 50) to get the orders of several customers in one call. The response then has customers instead of orders, limit applies per customer and page is not used. Send order_ids (up to 100) to return only those orders of the customer; limit and page are then ignored. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CustomerOrderObject" description: Access token and the customer to look up required: true responses: "200": description: Customer orders content: application/json: schema: oneOf: - $ref: "#/components/schemas/CustomerOrderResponse" - $ref: "#/components/schemas/CustomerOrderBulkResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Unauthorized Access content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: No customer_id or email received content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "406": description: "Invalid JSON body, or invalid customer_ids or order_ids" content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/store_badges/{API_KEY}/view": get: tags: - Store Badges summary: Retrieve store badges operationId: store_badges_view description: > By passing your API Key you can retrieve the badges the store publicly displays. Badge name and description are returned in the account's configured language and fall back to Japanese when no translation exists. Returns an empty data array when the store has no public badges. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string responses: "200": description: Store badges content: application/json: schema: $ref: "#/components/schemas/StoreBadgesResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "402": description: No action specified content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Unauthorized Access. API Key not provided content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: Account is disabled content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "408": description: Something wrong with account configuration. Please contact U-KOMI Support content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "410": description: Account has expired content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "/faqs/{API_KEY}": get: tags: - FAQ summary: Retrieve published FAQs operationId: faqs_view description: > Returns the published FAQs (categories, questions, answers) for the account. If the FAQ feature is not available or nothing is published, the response is still 200 with data.enabled = false. When rich snippets are enabled, snippet contains a ready-to-use FAQPage JSON-LD script tag. parameters: - name: API_KEY description: API KEY provided by Vendor in: path required: true schema: type: string - name: lang description: Content language (e.g. ja, en). Translations are returned only when FAQ translation is enabled. Defaults to the account language. in: query required: false schema: type: string - name: category description: Limit the JSON-LD (snippet) to one category, by custom_id or title. Use uncategorized for FAQs without a category. in: query required: false schema: type: string responses: "200": description: Published FAQs content: application/json: schema: $ref: "#/components/schemas/FaqsResponse" "401": description: Invalid API Key content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "403": description: Unauthorized Access. API Key not provided content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "405": description: Account is disabled content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "408": description: Something wrong with account configuration. Please contact U-KOMI Support content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" "410": description: Account has expired content: application/json: schema: $ref: "#/components/schemas/ErrorResponse" servers: - url: https://api.u-komi.com components: schemas: VisualUgcAlbumsObject: type: object required: - access_token properties: access_token: type: string description: "Access token. May also be sent as an 'Authorization: BearerOrders ship within 2 business days.
lang: search_placeholder: Search FAQs no_results: No matching FAQs found. all_categories: All uncategorized: Other snippet: type: string description: FAQPage JSON-LD script tag. Present only when rich snippets are enabled. example: