Our new Tubular update allows users to create deals through API. All the documentation for tubular API is available on https://developer.tubular.io

If you want to create deals using tubular API, follow these steps:

  1. Copy the developer API key from Integration Tab in settings. (If you already have your key you can disregard this step)
  2. Make a Graphql mutation request towards https://api.tubular.io. More info on graphql you can find on http://graphql.org/learn/. On using graphql on tubular please visit https://developer.tubular.io.
  3. Use your API key as an 'Authorization' header in your 'POST' http request

Fields used in 'addDeal' mutation are:

  1. 'name': Name of you deal (required value). Ex: 'Sample Deal'
  2. 'value': Value of the deal(required value). Ex: 20000
  3. 'clientId': Id of the client to whom the deal is assigned to (required value): Ex: (ID: 120)
  4. 'statusCode': Status/Stage of your deal (Required value). Number from 0 to 4 representing the stages of your deal. 0 represents initial stage, 4 means deal has been won. If no value is sent, status code will default to 0.
  5. 'description': Description of the deal (Optional)
  6. 'expectedCloseDate': Expected close date of the deal. (Optional). If no value is sent expected close date will default to a month from date of creation. The format of the expected close date is: 'YY-mm-dd'
  7. 'currency': Currency that is used in the deal. (Optional). Multiple currencies are available in tubular. Please check all the values in tubular and you can set a specific currency. If no value is sent default company currency will be used

You can try and test this integration on our interactive editor

Through the method above you can create Deals using Tubular's great API

Did this answer your question?