{
  "opencollection": "1.0.0",
  "info": {
    "name": "HitPay Account Status Products API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hit-pay.com/v1/products",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "statuses",
                "value": "",
                "type": "query"
              },
              {
                "name": "categories",
                "value": "",
                "type": "query"
              },
              {
                "name": "source",
                "value": "",
                "type": "query"
              },
              {
                "name": "inventory",
                "value": "",
                "type": "query"
              },
              {
                "name": "location_ids",
                "value": "",
                "type": "query"
              },
              {
                "name": "channels",
                "value": "",
                "type": "query"
              },
              {
                "name": "keywords",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "This endpoint allows you to retrieve all products. You can also filter the products by name, category, and status."
        },
        {
          "info": {
            "name": "Create a Product",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hit-pay.com/v1/products",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "name",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "description",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "barcode",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "headline",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "stock_keeping_unit",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "quantity",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "quantity_alert_level",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "currency",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "price",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "category_ids",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "channels",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "location_ids",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "locations",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "open_amount",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "is_manageable",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "is_pinned",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "product_weight",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "delivery_method_required",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "variations",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "image",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "publish",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "This endpoint allows you to create a product."
        },
        {
          "info": {
            "name": "Get Product Detail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hit-pay.com/v1/products/:product_id",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This endpoint allows you to get a product detail."
        },
        {
          "info": {
            "name": "Update the product",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hit-pay.com/v1/products/:product_id",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "name",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "description",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "headline",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "quantity",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "quantity_alert_level",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "currency",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "price",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "category_ids",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "is_manageable",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "is_pinned",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "product_weight",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "delivery_method_required",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "existing_variation",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "images",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "publish",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "_method",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "This endpoint allows you to update the product."
        },
        {
          "info": {
            "name": "Delete a Product",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.hit-pay.com/v1/products/:product_id",
            "headers": [
              {
                "name": "X-BUSINESS-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This endpoint allows you to delete a product."
        }
      ]
    }
  ],
  "bundled": true
}