---
title: Import products and pricing data
slug: import-products-and-pricing-data
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "vod0DRgBWKfoLt5jAWpxU",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://api.nue.io/cpq/async/imports/revenue-builder-data",
    "servers": [
      {
        "url": "https://api.nue.io/cpq/async/imports/revenue-builder-data",
        "description": "Nue Production API Endpoint"
      },
      {
        "url": "https://api.sandbox.nue.io/cpq/async/imports/revenue-builder-data",
        "description": "Nue Sandbox API Endpoint"
      }
    ],
    "name": "Import products and pricing data",
    "description": "Create an import job to import a list of product and pricing objects.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "*/*"
          ],
          "default": "*/*"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "import-operation",
          "type": "string",
          "example": "",
          "description": "<p>The type of import operation to perform, either insert or upsert</p>"
        }
      ],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "",
          "schema": [
            {
              "name": "uom",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Unit of measure import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "credit-type",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Credit types import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "credit-pool",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Credit pools import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "credit-conversion",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Credit conversion import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "price-book",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Price books import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "price-tag",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Price tags import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "product-group",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Product groups import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "product",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Standalone products import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "bundle",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Bundle products import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "bundle-suite",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Bundle suites import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "product-relationship",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Product relationships import file",
              "example": "",
              "format": "binary"
            },
            {
              "name": "custom-setting",
              "kind": "optional",
              "type": "string<binary>",
              "description": "Custom settings import file",
              "example": "",
              "format": "binary"
            }
          ],
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "Lwkd2uoOCRwH6d0gJFxDv",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://api.nue.io/cpq/async/imports/revenue-builder-data \\\n     --header 'accept: */*'"
        },
        {
          "id": "INlbR53IGE5nXrtqToGdo",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"*/*\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/cpq/async/imports/revenue-builder-data\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "FFOKQ7cvn_qMc4nvOb7su",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/cpq/async/imports/revenue-builder-data\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"*/*\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "ZQZPSYypueWc2xHz-u4t7",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/cpq/async/imports/revenue-builder-data\"\n\npayload = {}\nheaders = {\n   'accept': '*/*',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "Lwkd2uoOCRwH6d0gJFxDv"
    },
    "results": {
      "languages": [
        {
          "id": "TCOcrEGV1K2wkfqG0LyQi",
          "language": "200",
          "code": "// OK\n"
        },
        {
          "id": "uM8gwrAFeZAAOlRWvbc6-",
          "language": "400",
          "code": "// Bad Request\n"
        }
      ],
      "selectedLanguageId": "TCOcrEGV1K2wkfqG0LyQi"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}