Create Pricelist

Creates a price list.

POST/v1/catalog/price-lists
Body
currencystring
precision*integer (int32)
defaultMarkupnullable number (double)
notesnullable string
externalIdsPriceListExternalIdInput (object)
product*RequestObjectLink (object)
Response

Created

Body
idstring
auditQueryModelAudit (object)
$metaQueryModelMetadata (object)
hrefstring
currencystring
precisioninteger (int32)
defaultMarkupnumber (double)
notesnullable string
externalIdsPriceListExternalIdBag (object)
statisticsPriceListStatistics (object)
productProductQueryModel (object)
vendorAccountQueryModel (object)
Request
const response = await fetch('/v1/catalog/price-lists', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "precision": 0,
      "product": {}
    }),
});
const data = await response.json();
Response
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-01-05T01:54:01.949Z",
      "by": {
        "id": "text",
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "name": "text",
        "icon": "text"
      }
    },
    "updated": {
      "at": "2025-01-05T01:54:01.949Z",
      "by": {
        "id": "text",
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "name": "text",
        "icon": "text"
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "href": "text",
  "currency": "text",
  "precision": 0,
  "defaultMarkup": 0,
  "notes": "text",
  "externalIds": {
    "vendor": "text"
  },
  "statistics": {
    "sellers": 0,
    "listings": 0,
    "priceListItems": 0,
    "purchasePriceItems": 0,
    "purchasePriceCompleteness": 0,
    "salesPriceItems": 0,
    "salesPriceCompleteness": 0,
    "averageMarkup": 0,
    "averageMargin": 0
  },
  "product": {
    "id": "text",
    "audit": {
      "created": {
        "at": "2025-01-05T01:54:01.949Z",
        "by": {
          "id": "text",
          "audit": {},
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "updated": {
        "at": "2025-01-05T01:54:01.949Z",
        "by": {
          "id": "text",
          "audit": {},
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "published": {
        "at": "2025-01-05T01:54:01.949Z",
        "by": {
          "id": "text",
          "audit": {},
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "pending": {
        "at": "2025-01-05T01:54:01.949Z",
        "by": {
          "id": "text",
          "audit": {},
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "unpublished": {
        "at": "2025-01-05T01:54:01.949Z",
        "by": {
          "id": "text",
          "audit": {},
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "href": "text",
    "name": "text",
    "shortDescription": "text",
    "longDescription": "text",
    "externalIds": {
      "operations": "text"
    },
    "website": "text",
    "icon": "text",
    "status": "text",
    "vendor": {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-01-05T01:54:01.949Z",
          "by": {
            "id": "text",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "updated": {
          "at": "2025-01-05T01:54:01.949Z",
          "by": {
            "id": "text",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "href": "text",
      "externalId": "text",
      "externalName": "text",
      "type": "Client",
      "status": "Active",
      "serviceLevel": "Express",
      "address": {
        "addressLine1": "text",
        "addressLine2": "text",
        "postCode": "text",
        "city": "text",
        "state": "text",
        "country": "text"
      },
      "icon": "text",
      "technicalSupportEmail": "name@gmail.com",
      "website": "text",
      "description": "text",
      "name": "text",
      "groups": [
        {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-01-05T01:54:01.949Z",
              "by": {
                "id": "text",
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "updated": {
              "at": "2025-01-05T01:54:01.949Z",
              "by": {
                "id": "text",
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "description": "text",
          "modules": [
            {
              "id": "text",
              "audit": {
                "created": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                },
                "updated": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                }
              },
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "description": "text",
              "name": "text",
              "accountTypes": [
                "text"
              ],
              "filters": {
                "group.buyers": [
                  "text"
                ]
              },
              "settings": {
                "sharedAccount": false,
                "configurable": false,
                "default": false,
                "paid": false,
                "type": [
                  "text"
                ]
              }
            }
          ],
          "logo": "text",
          "isDefault": false,
          "users": [
            {
              "id": "text",
              "audit": {
                "created": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "audit": {},
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                },
                "updated": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "audit": {},
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                },
                "invitationAcceptedAt": "2025-01-05T01:54:01.949Z"
              },
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "email": "text",
              "status": "text",
              "phone": {
                "prefix": "text",
                "number": "text"
              },
              "firstName": "text",
              "lastName": "text",
              "icon": "text",
              "lastLoginAt": "2025-01-05T01:54:01.949Z",
              "settings": {
                "cultureCode": "text",
                "languageCode": "text"
              },
              "name": "text",
              "accounts": []
            }
          ],
          "buyers": [
            {
              "id": "text",
              "audit": {
                "created": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "audit": {},
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                },
                "updated": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "audit": {},
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                },
                "activated": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "audit": {},
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                },
                "unassigned": {
                  "at": "2025-01-05T01:54:01.949Z",
                  "by": {
                    "id": "text",
                    "audit": {},
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "name": "text",
                    "icon": "text"
                  }
                }
              },
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "contact": {
                "name": "text",
                "firstName": "text",
                "lastName": "text",
                "email": "name@gmail.com",
                "phone": {
                  "prefix": "text",
                  "number": "text"
                },
                "user": {
                  "id": "text",
                  "audit": {
                    "created": {
                      "at": "2025-01-05T01:54:01.949Z",
                      "by": {
                        "id": "text",
                        "audit": {},
                        "$meta": {
                          "omitted": [
                            "text"
                          ]
                        },
                        "href": "text",
                        "name": "text",
                        "icon": "text"
                      }
                    },
                    "updated": {
                      "at": "2025-01-05T01:54:01.949Z",
                      "by": {
                        "id": "text",
                        "audit": {},
                        "$meta": {
                          "omitted": [
                            "text"
                          ]
                        },
                        "href": "text",
                        "name": "text",
                        "icon": "text"
                      }
                    },
                    "invitationAcceptedAt": "2025-01-05T01:54:01.949Z"
                  },
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "email": "text",
                  "status": "text",
                  "phone": {
                    "prefix": "text",
                    "number": "text"
                  },
                  "firstName": "text",
                  "lastName": "text",
                  "icon": "text",
                  "lastLoginAt": "2025-01-05T01:54:01.949Z",
                  "settings": {
                    "cultureCode": "text",
                    "languageCode": "text"
                  },
                  "name": "text",
                  "accounts": []
                },
                "type": "text"
              },
              "externalIds": {
                "erpCompanyContact": "text",
                "erpCustomer": "text",
                "accountExternalId": "text"
              },
              "status": "Active",
              "icon": "text",
              "address": {
                "addressLine1": "text",
                "addressLine2": "text",
                "postCode": "text",
                "city": "text",
                "state": "text",
                "country": "text"
              },
              "taxId": "text",
              "name": "text",
              "errors": [
                {
                  "id": "text",
                  "message": "text"
                }
              ],
              "sellers": [
                {
                  "id": "text",
                  "audit": {
                    "created": {
                      "at": "2025-01-05T01:54:01.949Z",
                      "by": {
                        "id": "text",
                        "$meta": {
                          "omitted": [
                            "text"
                          ]
                        },
                        "href": "text",
                        "name": "text",
                        "icon": "text"
                      }
                    },
                    "updated": {
                      "at": "2025-01-05T01:54:01.949Z",
                      "by": {
                        "id": "text",
                        "$meta": {
                          "omitted": [
                            "text"
                          ]
                        },
                        "href": "text",
                        "name": "text",
                        "icon": "text"
                      }
                    }
                  },
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "externalId": "text",
                  "status": "Active",
                  "icon": "text",
                  "currencies": [
                    "text"
                  ],
                  "address": {
                    "addressLine1": "text",
                    "addressLine2": "text",
                    "postCode": "text",
                    "city": "text",
                    "state": "text",
                    "country": "text"
                  },
                  "name": "text"
                }
              ]
            }
          ]
        }
      ]
    },
    "settings": {
      "productOrdering": false,
      "productRequests": {
        "enabled": false,
        "name": "text",
        "label": "text"
      },
      "itemSelection": false,
      "orderQueueChanges": false,
      "preValidation": {
        "purchaseOrderDraft": false,
        "purchaseOrderQuerying": false,
        "changeOrderDraft": false,
        "terminationOrder": false,
        "productRequest": false
      },
      "splitBilling": {
        "enabled": false,
        "type": "text"
      }
    },
    "statistics": {
      "itemCount": 0,
      "ordersPlacedCount": 0,
      "agreementCount": 0,
      "subscriptionCount": 0,
      "requestCount": 0
    }
  },
  "vendor": {
    "id": "text",
    "audit": {
      "created": {
        "at": "2025-01-05T01:54:01.949Z",
        "by": {
          "id": "text",
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "updated": {
        "at": "2025-01-05T01:54:01.949Z",
        "by": {
          "id": "text",
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "href": "text",
    "externalId": "text",
    "externalName": "text",
    "type": "Client",
    "status": "Active",
    "serviceLevel": "Express",
    "address": {
      "addressLine1": "text",
      "addressLine2": "text",
      "postCode": "text",
      "city": "text",
      "state": "text",
      "country": "text"
    },
    "icon": "text",
    "technicalSupportEmail": "name@gmail.com",
    "website": "text",
    "description": "text",
    "name": "text",
    "groups": [
      {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-01-05T01:54:01.949Z",
            "by": {
              "id": "text",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "updated": {
            "at": "2025-01-05T01:54:01.949Z",
            "by": {
              "id": "text",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "name": "text",
        "description": "text",
        "modules": [
          {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "updated": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              }
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "description": "text",
            "name": "text",
            "accountTypes": [
              "text"
            ],
            "filters": {
              "group.buyers": [
                "text"
              ]
            },
            "settings": {
              "sharedAccount": false,
              "configurable": false,
              "default": false,
              "paid": false,
              "type": [
                "text"
              ]
            }
          }
        ],
        "logo": "text",
        "isDefault": false,
        "users": [
          {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "audit": {},
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "updated": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "audit": {},
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "invitationAcceptedAt": "2025-01-05T01:54:01.949Z"
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "email": "text",
            "status": "text",
            "phone": {
              "prefix": "text",
              "number": "text"
            },
            "firstName": "text",
            "lastName": "text",
            "icon": "text",
            "lastLoginAt": "2025-01-05T01:54:01.949Z",
            "settings": {
              "cultureCode": "text",
              "languageCode": "text"
            },
            "name": "text",
            "accounts": []
          }
        ],
        "buyers": [
          {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "audit": {},
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "updated": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "audit": {},
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "activated": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "audit": {},
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "unassigned": {
                "at": "2025-01-05T01:54:01.949Z",
                "by": {
                  "id": "text",
                  "audit": {},
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              }
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "contact": {
              "name": "text",
              "firstName": "text",
              "lastName": "text",
              "email": "name@gmail.com",
              "phone": {
                "prefix": "text",
                "number": "text"
              },
              "user": {
                "id": "text",
                "audit": {
                  "created": {
                    "at": "2025-01-05T01:54:01.949Z",
                    "by": {
                      "id": "text",
                      "audit": {},
                      "$meta": {
                        "omitted": [
                          "text"
                        ]
                      },
                      "href": "text",
                      "name": "text",
                      "icon": "text"
                    }
                  },
                  "updated": {
                    "at": "2025-01-05T01:54:01.949Z",
                    "by": {
                      "id": "text",
                      "audit": {},
                      "$meta": {
                        "omitted": [
                          "text"
                        ]
                      },
                      "href": "text",
                      "name": "text",
                      "icon": "text"
                    }
                  },
                  "invitationAcceptedAt": "2025-01-05T01:54:01.949Z"
                },
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "email": "text",
                "status": "text",
                "phone": {
                  "prefix": "text",
                  "number": "text"
                },
                "firstName": "text",
                "lastName": "text",
                "icon": "text",
                "lastLoginAt": "2025-01-05T01:54:01.949Z",
                "settings": {
                  "cultureCode": "text",
                  "languageCode": "text"
                },
                "name": "text",
                "accounts": []
              },
              "type": "text"
            },
            "externalIds": {
              "erpCompanyContact": "text",
              "erpCustomer": "text",
              "accountExternalId": "text"
            },
            "status": "Active",
            "icon": "text",
            "address": {
              "addressLine1": "text",
              "addressLine2": "text",
              "postCode": "text",
              "city": "text",
              "state": "text",
              "country": "text"
            },
            "taxId": "text",
            "name": "text",
            "errors": [
              {
                "id": "text",
                "message": "text"
              }
            ],
            "sellers": [
              {
                "id": "text",
                "audit": {
                  "created": {
                    "at": "2025-01-05T01:54:01.949Z",
                    "by": {
                      "id": "text",
                      "$meta": {
                        "omitted": [
                          "text"
                        ]
                      },
                      "href": "text",
                      "name": "text",
                      "icon": "text"
                    }
                  },
                  "updated": {
                    "at": "2025-01-05T01:54:01.949Z",
                    "by": {
                      "id": "text",
                      "$meta": {
                        "omitted": [
                          "text"
                        ]
                      },
                      "href": "text",
                      "name": "text",
                      "icon": "text"
                    }
                  }
                },
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "externalId": "text",
                "status": "Active",
                "icon": "text",
                "currencies": [
                  "text"
                ],
                "address": {
                  "addressLine1": "text",
                  "addressLine2": "text",
                  "postCode": "text",
                  "city": "text",
                  "state": "text",
                  "country": "text"
                },
                "name": "text"
              }
            ]
          }
        ]
      }
    ]
  }
}

Last updated

SoftwareOne is a trademark of SoftwareOne, Inc. "The Software Licensing Experts" is a service mark of SoftwareOne, Inc. VAR assist is a trademark of SoftwareOne, Inc. "It pays to partner" is a service mark of SoftwareOne, Incorporated.