end points for global price lists.


List your price lists

Get /v1/b2b/price/lists

Response

A list of Price List Objects.

Get a price list

Get /v1/b2b/price/lists/{id}

Input

id:  The id of the price list you want.

Response

Create a price list

POST /v1/b2b/price/lists

Body

A Price List Object 

Response

The id to the newly created price list.

Update a price list 

PUT /v1/b2b/price/lists

Body

A Price List Object 

Response

The updated Price List Object

Delete a price list

DELETE /v1/b2b/price/lists/{id}

Input

id: The id of the price list you want to delete. 

Response

None

 

Events:  there is a new JSON property that can be passed in at the event level for a price list called priceList.  Please see the Event documentation

Event Template:  You can now pass an array of price lists in at the event template called priceLists

Event Schedule:  You can now pass in an array of price lists (called priceLists) with a schedule.

 

Price List JSON Objects

Field
Description
Notes
idUnique ID of the price list.Read Only
nameName of the price list. 
descriptionDescription of the price list. 
effectiveStartTimeDate for the start of this price list.ISO-8601
effectiveEndTimeDate for the end of this price list.ISO-8601
pricesList of prices. 
prices[x].personTypeThe person type object 
prices[x].personType.idThe id of the person type. 
prices[x].personType.nameThe name of the person type.Read Only
prices[x].personType.descriptionThe description of the person type.Read Only
prices[x].personType.typeThe type of person type. 
prices[x].personType.displayOrderThe order that this will be displayed in, in the price list. 
prices[x].priceThe price for this person type. 
prices[x].salesChannelslist of sales channels available for this person type. 
prices[x].salesChannels[y].channelone of (online, customerRep, pointOfSale, manualEntry) 
prices[x].salesChannels[y].nameone of (Online, Customer Rep, Point of Sale, Manual Entry) 
prices[x].salesChannels[y].enabledtrue if this sales channel is enabled for this price list person type combination otherwise false. 
PriceList Schema
{
  "id" "123-456-678",
  "name" "Price for Tours",
  "description" "Default price for standard tours",
  "effectiveStartTime" : ISO8601 date,
  "effectiveEndTime" : ISO8601 date,
  "prices" : [
     {
       "personType" : {
         "id" "897-12356",
         "name" "Adult",
         "description" "18 and older",
         "active" true,
         "type" "Individual",
         "displayOrder" : 1
       },
       "price" : 1.02,
       "salesChannels" : [
          {
              "channel" "online",
              "name" "Online",
              "enabled" false
          },
          {
              "channel" "pointOfSale",
              "name" "Point of Sale",
              "enabled" true
          },
          {
              "channel" "customerRep",
              "name" "Customer Rep",
              "enabled" true
          }
       ]
     },
     ...
  ]
}