{
  "item": [
    {
      "id": "76d49cd0-446e-4422-81f5-1a675f5deb68",
      "name": "Deals",
      "description": {
        "content": "Sales opportunities moving through pipeline stages.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "26ca395b-e883-41ff-af72-8685f3d2a02d",
          "name": "List deals",
          "request": {
            "name": "List deals",
            "description": {},
            "url": {
              "path": [
                "v2",
                "deals"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "page",
                  "value": "<integer>"
                },
                {
                  "disabled": false,
                  "key": "per_page",
                  "value": "<integer>"
                },
                {
                  "disabled": false,
                  "key": "sort_by",
                  "value": "<string>"
                },
                {
                  "disabled": false,
                  "key": "ids",
                  "value": "<string>"
                },
                {
                  "disabled": false,
                  "key": "owner_id",
                  "value": "<integer>"
                },
                {
                  "disabled": false,
                  "key": "contact_id",
                  "value": "<integer>"
                },
                {
                  "disabled": false,
                  "key": "stage_id",
                  "value": "<integer>"
                }
              ],
              "variable": []
            },
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "7793d116-9340-4e40-8653-31244b7a2458",
              "name": "List of deals",
              "originalRequest": {
                "url": {
                  "path": [
                    "v2",
                    "deals"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "<integer>"
                    },
                    {
                      "key": "per_page",
                      "value": "<integer>"
                    },
                    {
                      "key": "sort_by",
                      "value": "<string>"
                    },
                    {
                      "key": "ids",
                      "value": "<string>"
                    },
                    {
                      "key": "owner_id",
                      "value": "<integer>"
                    },
                    {
                      "key": "contact_id",
                      "value": "<integer>"
                    },
                    {
                      "key": "stage_id",
                      "value": "<integer>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: oauth2",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "693a9f16-7184-4706-85bd-94f7aa5505c1",
          "name": "Create a deal",
          "request": {
            "name": "Create a deal",
            "description": {},
            "url": {
              "path": [
                "v2",
                "deals"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"contact_id\": \"<integer>\",\n  \"value\": \"<string>\",\n  \"currency\": \"<string>\",\n  \"owner_id\": \"<integer>\",\n  \"stage_id\": \"<integer>\",\n  \"tags\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"custom_fields\": \"<object>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "06bc83d3-b284-4502-b765-fbcd59a94dc3",
              "name": "Deal created",
              "originalRequest": {
                "url": {
                  "path": [
                    "v2",
                    "deals"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: oauth2",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"contact_id\": \"<integer>\",\n  \"value\": \"<string>\",\n  \"currency\": \"<string>\",\n  \"owner_id\": \"<integer>\",\n  \"stage_id\": \"<integer>\",\n  \"tags\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"custom_fields\": \"<object>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "3f368e4d-47b0-402f-9cba-646012df741a",
          "name": "Retrieve a deal",
          "request": {
            "name": "Retrieve a deal",
            "description": {},
            "url": {
              "path": [
                "v2",
                "deals",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<integer>",
                  "key": "id",
                  "description": "(Required) "
                }
              ]
            },
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "0da9f913-f16e-4821-b74b-adee0459dfea",
              "name": "Deal",
              "originalRequest": {
                "url": {
                  "path": [
                    "v2",
                    "deals",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: oauth2",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "04700650-c73d-4918-bae2-fff0a1b2cde1",
          "name": "Update a deal",
          "request": {
            "name": "Update a deal",
            "description": {},
            "url": {
              "path": [
                "v2",
                "deals",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<integer>",
                  "key": "id",
                  "description": "(Required) "
                }
              ]
            },
            "method": "PUT",
            "auth": null
          },
          "response": [
            {
              "id": "811072a3-110a-4051-8159-0cc483cb5541",
              "name": "Deal updated",
              "originalRequest": {
                "url": {
                  "path": [
                    "v2",
                    "deals",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: oauth2",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "method": "PUT",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "7c2da7fe-e966-4462-b73f-bed32563beb3",
          "name": "Delete a deal",
          "request": {
            "name": "Delete a deal",
            "description": {},
            "url": {
              "path": [
                "v2",
                "deals",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<integer>",
                  "key": "id",
                  "description": "(Required) "
                }
              ]
            },
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "f46dcea8-898c-4429-b00c-ee05e2a0a7ef",
              "name": "Deal deleted",
              "originalRequest": {
                "url": {
                  "path": [
                    "v2",
                    "deals",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<integer>",
                      "key": "id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: oauth2",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "d74a9379-1432-4fd9-9018-f39af3182858",
          "name": "Upsert a deal",
          "request": {
            "name": "Upsert a deal",
            "description": {},
            "url": {
              "path": [
                "v2",
                "deals",
                "upsert"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "method": "POST",
            "auth": null
          },
          "response": [
            {
              "id": "f44b387e-98c4-49c2-b473-482e69c9a7ee",
              "name": "Deal upserted",
              "originalRequest": {
                "url": {
                  "path": [
                    "v2",
                    "deals",
                    "upsert"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: oauth2",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [],
  "variable": [
    {
      "type": "string",
      "value": "https://api.getbase.com",
      "key": "baseUrl"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "read write"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://api.getbase.com/oauth2/token"
      },
      {
        "key": "authUrl",
        "value": "https://api.getbase.com/oauth2/authorize"
      },
      {
        "key": "grant_type",
        "value": "authorization_code"
      }
    ]
  },
  "info": {
    "_postman_id": "5a74b196-3c41-4e8d-a6d5-6556f123ce0e",
    "name": "Zendesk Sell (Sales CRM) Contacts Deals API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "The Zendesk Sell Sales CRM API (formerly Base CRM) is a RESTful API hosted\nat api.getbase.com that provides programmatic CRUD access to Sell records\nincluding leads, contacts, deals, and other sales-pipeline resources. The\nSell platform also offers Sync, Firehose, and Search APIs alongside the\nCore API documented here. Authentication uses OAuth 2.0.\n\nContact Support:\n Name: Zendesk Developer Portal",
      "type": "text/plain"
    }
  }
}