Pricing

POST /pricing/versions

Changed on

Create and manage PriceListVersions.

PricePoints will be created for each Item of each PriceList Product.

PriceListVersion XLSX representation will be fixed for Provider after schedule/activate.

After one of these actions any changes will not affect on XLSX representation for Provider.

For bulk update XLSX file download is needed to set:

  • HTTP Content-Type header: application/vnd.openxmlformats-officedocument.spreadsheetml.template

  • or add format='xlsx' param to query string (?format=xlsx)

Request

  • Base URL
    https://api.connect.cloudblue.com/public/v1
  • Auth
    API key in header Authorization

Request body

descriptionstring required
start_atstring date-time

Time when this PriceListVersion is activated (in case of scheduling activation in future). PriceListVersions are being activated at begin of specified hour.

Response

idstring
descriptionstring required
start_atstring date-time

Time when this PriceListVersion is activated (in case of scheduling activation in future). PriceListVersions are being activated at begin of specified hour.

status'processing' | 'draft' | 'scheduled' | 'active' | 'obsolete' | 'expired'
xlsx_filestring uri-reference nullable

Link to XLSX representation file.

Changes

    • warning

      added the new ANG enum value to the / response property for the response status

    • warning

      added the new BGN enum value to the / response property for the response status

    • warning

      added the new CUC enum value to the / response property for the response status

    • warning

      added the new HRK enum value to the / response property for the response status

    • warning

      added the new SLL enum value to the / response property for the response status

    • warning

      added the new ZWL enum value to the / response property for the response status

    • warning

      added the new XAD enum value to the / response property for the response status

    • warning

      added the new XCG enum value to the / response property for the response status

    • warning

      added the new ZWG enum value to the / response property for the response status

    • warning

      added the new obsolete enum value to the / response property for the response status

    • warning

      added the new obsolete enum value to the response property for the response status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      removed the ANG enum value from the / response property for the response status

    • info

      removed the BGN enum value from the / response property for the response status

    • info

      removed the CUC enum value from the / response property for the response status

    • info

      removed the HRK enum value from the / response property for the response status

    • info

      removed the SLL enum value from the / response property for the response status

    • info

      removed the ZWL enum value from the / response property for the response status