> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Post Price List

> Creates a new PriceList

Calls the Quote agent service SavePriceList.
NsApiSlow threshold: 5000 ms.



## OpenAPI

````yaml /openapi/rest/openapi-v3-Pricelist.json post /api/v1/Pricelist
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - Pricelist
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Pricelist:
    post:
      tags:
        - List_Price
      summary: Post Price List
      description: "Creates a new PriceList\n\nCalls the Quote agent service SavePriceList.\r\nNsApiSlow threshold: 5000 ms."
      operationId: v1PriceList_PostPriceList
      parameters:
        - name: $select
          in: query
          description: >-
            Optional comma separated list of properties to include in the
            result. Other fields are then nulled out to reduce payload size:
            "Name,department,category" Default = show all fields.
          required: false
          schema:
            type: string
        - name: Accept-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code.
          required: false
          schema:
            type: string
        - name: SO-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code. Overrides Accept-Language value.
          required: false
          schema:
            type: string
        - name: SO-Culture
          in: header
          description: >-
            Number, date formatting in a specified culture (iso2 language) code.
            Partially overrides SO-Language/Accept-Language value. Ignored if no
            Language set.
          required: false
          schema:
            type: string
        - name: SO-TimeZone
          in: header
          description: >-
            Specify the timezone code that you would like date/time responses
            converted to.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      requestBody:
        $ref: '#/components/requestBodies/SuperOffice.CRM.Services.PriceList'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.PriceListWithLinks
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.PriceListWithLinks
            application/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.PriceListWithLinks
            text/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.PriceListWithLinks
            application/json-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.PriceListWithLinks
            application/merge-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.PriceListWithLinks
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  requestBodies:
    SuperOffice.CRM.Services.PriceList:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.PriceList'
        text/json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.PriceList'
        application/xml:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.PriceList'
        text/xml:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.PriceList'
        application/x-www-form-urlencoded:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.PriceList'
        application/json-patch+json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.PriceList'
        application/merge-patch+json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.PriceList'
      description: The PriceList to be saved.
      required: true
  schemas:
    SuperOffice.WebApi.v1.Carriers.QuoteCarriers.PriceListWithLinks:
      description: "A pricelist is basically a collection of products. It can be valid in a time period, and outright deactivated. All prices in the product list is in a specific currency. We have decieded not to separate prices and products, which means that we get a simpler data model, but some redundancy.\r\n<para />\r\nPriceList entity with API _Links added."
      type: object
      properties:
        PriceListId:
          format: int32
          description: Primary key
          type: integer
        ERPPriceListKey:
          description: The key that uniquely identifies this pricelist in the ERP system
          type: string
        QuoteConnectionId:
          format: int32
          description: >-
            (Reserved for future use) The connection to the ERP system used for
            this pricelist
          type: integer
        Name:
          description: Name of this pricelist to use in the user interface.
          type: string
        Description:
          description: >-
            Description of this pricelist , will be used as tool-tip in the user
            interface.
          type: string
        Currency:
          description: The iso currency code, like 'USD' or 'NOK'.
          type: string
        CurrencyName:
          description: >-
            The name to use in the user interface, like perhaps 'US dollar' or
            '$'
          type: string
        ValidFrom:
          format: date-time
          description: >-
            The date (inclusive) the pricelist start to be valid. This can be
            DateTime.MinValue to signal that it doesn't have a specific start
            date.
          type: string
        ValidTo:
          format: date-time
          description: >-
            The date (inclusive) the pricelist ends to be valid. This can be
            DateTime.MaxValue to signal that it doesn't have a specific end
            date.
          type: string
        IsActive:
          description: >-
            Is the list active (as opposed to being worked on, suddenly
            canceled, etc.
          type: boolean
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
        _Links:
          type: object
          additionalProperties:
            type: string
    SuperOffice.CRM.Services.PriceList:
      description: "A pricelist is basically a collection of products. It can be valid in a time period, and outright deactivated. All prices in the product list is in a specific currency. We have decieded not to separate prices and products, which means that we get a simpler data model, but some redundancy.\r\n<para />\r\nCarrier object for PriceList.\r\nServices for the PriceList Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IQuoteAgent\">Quote Agent</see>."
      type: object
      properties:
        PriceListId:
          format: int32
          description: Primary key
          type: integer
        ERPPriceListKey:
          description: The key that uniquely identifies this pricelist in the ERP system
          type: string
        QuoteConnectionId:
          format: int32
          description: >-
            (Reserved for future use) The connection to the ERP system used for
            this pricelist
          type: integer
        Name:
          description: Name of this pricelist to use in the user interface.
          type: string
        Description:
          description: >-
            Description of this pricelist , will be used as tool-tip in the user
            interface.
          type: string
        Currency:
          description: The iso currency code, like 'USD' or 'NOK'.
          type: string
        CurrencyName:
          description: >-
            The name to use in the user interface, like perhaps 'US dollar' or
            '$'
          type: string
        ValidFrom:
          format: date-time
          description: >-
            The date (inclusive) the pricelist start to be valid. This can be
            DateTime.MinValue to signal that it doesn't have a specific start
            date.
          type: string
        ValidTo:
          format: date-time
          description: >-
            The date (inclusive) the pricelist ends to be valid. This can be
            DateTime.MaxValue to signal that it doesn't have a specific end
            date.
          type: string
        IsActive:
          description: >-
            Is the list active (as opposed to being worked on, suddenly
            canceled, etc.
          type: boolean
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Security.TableRight:
      description: "Wraps a table right together with an explanatory reason.\r\nCode can indicate why access is restricted."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string
    SuperOffice.CRM.Security.FieldProperty:
      description: >-
        Class holding properties like field length, field type about a field in
        the carrier.
      type: object
      properties:
        FieldRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldRight'
        FieldType:
          type: string
        FieldLength:
          format: int32
          description: ''
          type: integer
    SuperOffice.CRM.Security.FieldRight:
      description: "Wraps the field right together with an explanatory reason.\r\nAlso adds logical operators to the field rights so that they can be easily combined."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string

````

## Related topics

- [Delete Price List](/en/api/reference/restful/agent/quote_agent/delete-price-list.md)
- [Price lists](/en/automation/crmscript/howto/quote/price-list.md)
- [PriceList](/en/api/archive-providers/reference/pricelist.md)
- [NSPriceList](/en/automation/crmscript/reference/CRMScript.NetServer.NSPriceList.md)
- [Get Price List](/en/api/reference/restful/rest/list_price/get-price-list.md)
