Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create product on Bitrix24 with inbound webhook API
# Resolve errors: Name is not specified
connection = @@base_url) do |req|
req.url 'crm.product.add'
req.headers['Content-Type'] = 'application/json'
req.body = { fields: { NAME: product_name, PRICE: estate.gia_khoi_diem, DESCRIPTION: product_description } }.to_json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.