Authorizations
Body
The id of the SaleSnip project for this session. You can locate your project ID in the SaleSnip dashboard under the 'Keys' tab on the project level.
"project_abcdefghjijklmnop"
The ISO 4217 currency code to be used throughout the negotiation. This will be used for all products.
AED
, AFN
, ALL
, AMD
, ANG
, AOA
, ARS
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BRL
, BSD
, BTN
, BWP
, BYN
, BZD
, CAD
, CDF
, CHF
, CKD
, CLP
, CNY
, COP
, CRC
, CUC
, CUP
, CVE
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, EHP
, ERN
, ETB
, EUR
, FJD
, FKP
, FOK
, GBP
, GEL
, GGP
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, IMP
, INR
, IQD
, IRR
, ISK
, JEP
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KID
, KMF
, KPW
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LYD
, MAD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRU
, MUR
, MVR
, MWK
, MXN
, MYR
, MZN
, NAD
, NGN
, NIO
, NOK
, NPR
, NZD
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PND
, PRB
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SDG
, SEK
, SGD
, SHP
, SLL
, SLS
, SOS
, SRD
, SSP
, STN
, SVC
, SYP
, SZL
, THB
, TJS
, TMT
, TND
, TOP
, TRY
, TTD
, TVD
, TWD
, TZS
, UAH
, UGX
, USD
, UYU
, UZS
, VED
, VES
, VND
, VUV
, WST
, XAF
, XCD
, XOF
, XPF
, YER
, ZAR
, ZMW
, ZWB
, ZWL
"USD"
An array of products to be included in the negotiation.
1 - 50
elementsA set of callback URLs for the session. If you are using SaleSnip inside the widget, these fields can be left empty.
A selection of complementary products that can be added to the original purchase to enhance or extend its value. This is commonly known as a cross-sell.
10
Custom metadata to be included with the session.
{
"some_important_info": "SaleSnip is awesome!"
}
Response
Created
The unique ID of the session. You can use this to open SaleSnip as a widget.
"session_abcdefghjijklmnop"
The hosted URL of the session. You can redirect users to this URL to use SaleSnip in a standalone mode.
"https://chat.salesnip.com/#abcdefghjijklmnop"