> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Pipelines # Type: Pipeline Object # Link: https://dev.wix.com/docs/api-reference/crm/crm/pipelines-management/pipelines/pipeline-object.md ## Description: A structured business process workflow consisting of multiple ordered stages and a final stage. Pipelines define the path that cards (deals, leads, projects, etc.) follow from start to completion. Each pipeline has a currency setting that applies to all monetary values within that pipeline. Pipeline stages can be configured with stale duration settings to identify workflow delays. ## Schema: ```json Type: Pipeline Object | type: Pipeline Description: A structured business process workflow consisting of multiple ordered stages and a final stage. Pipelines define the path that cards (deals, leads, projects, etc.) follow from start to completion. Each pipeline has a currency setting that applies to all monetary values within that pipeline. Pipeline stages can be configured with stale duration settings to identify workflow delays. - name: id | type: string | description: Pipeline ID. - name: value | type: string | description: - name: revision | type: string | description: Revision number, which increments by 1 each time the pipeline is updated. To prevent conflicting changes, the current revision must be passed when updating the pipeline. Ignored when creating a pipeline. - name: value | type: string | description: - name: createdDate | type: string | description: Date and time the pipeline was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: updatedDate | type: string | description: Date and time the pipeline was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. - name: name | type: string | description: Pipeline name. - name: currency | type: string | description: Currency code for monetary values in this pipeline. Must be a valid ISO 4217 currency code. For example, `USD`. Default: Based on the site's currency settings. - name: stages | type: Array | description: Pipeline stages in order. Cards move through these stages as they progress through the business process. - name: id | type: string | description: Stage ID. - name: name | type: string | description: Stage name. - name: staleDurationInHours | type: number | description: The duration (in hours) a card can remain in this stage before becoming stale. When a card exceeds this duration, it's marked as stale to indicate potential workflow delays. - name: value | type: number | description: - name: doneStage | type: DoneStage | description: The final pipeline stage where cards receive a final outcome. - name: id | type: string | description: Done stage ID. - name: name | type: string | description: Done stage name. - name: allowedOutcomes | type: Array | description: Outcomes that cards can have when moved to the done stage. enum: NONE, WON, LOST - name: extendedFields | type: ExtendedFields | description: Extended fields data. - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md). - name: tags | type: PrivateTags | description: Tags for organizing and categorizing pipelines. - name: privateTags | type: TagList | description: Tags that are exposed to anyone with access to the entity, including site members and visitors. - name: tagIds | type: Array | description: List of tag IDs. ```