---
schema_version: "1"
id: 641e5644c6eeea1c6bc4164f756663eb507fdc4f88e13e612fad84983a89a3d5
title: DeliveryTask
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_objects_deliverytask.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_objects_deliverytask.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8eee98e27f5b9eba25c5c450190688678d7b2236cf6101069404df9a54376fbc
description: Represents information about shipments and orders to be delivered to a store in a visit. This object is available in API version 50.0 and later.
---
# DeliveryTask

Represents information about shipments and orders to be delivered to a store in a visit. This object is available in API version 50.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### AssessmentTaskId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: ID of the associated assessment task.

### Description

- **Type**: textarea
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Description of the delivery task.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed this record.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: Name of the delievry task.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the owner of this record.

### PlaceId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Location to which delivery is to be made.

### Status

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: User defined status of the delivery task.
- **Possible values**:
    - Completed
    - In Progress
    - Not Started

### StatusCategory

- **Type**: picklist
- **Properties**: Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Status of delivery task.
- **Possible values**:
    - Completed
    - InProgress
    - NotStarted

### VisitId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: ID of the visit associated with the delivery task

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

- **[DeliveryTaskOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")**: Sharing rules are available for the object.
- **[DeliveryTaskShare](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")**: Sharing is available for the object.
- **[DeliveryTaskFeed](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")**: Feed is available for the object.