---
title: deliveryPromiseProviderUpsert - GraphQL Admin
description: Creates or updates a delivery promise provider. Currently restricted to select approved delivery promise partners.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/deliverypromiseproviderupsert
  md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/deliverypromiseproviderupsert.md
---

# delivery​Promise​Provider​Upsert

mutation

Requires `write_delivery_promises` access scope.

Creates or updates a delivery promise provider. Currently restricted to select approved delivery promise partners.

## Arguments

* active

  [Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)

  Whether the delivery promise provider is active. Defaults to `true` when creating a provider.

* fulfillment​Delay

  [Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)

  The number of seconds to add to the current time as a buffer when looking up delivery promises. Represents how long the shop requires before releasing an order to the fulfillment provider.

* location​Id

  [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  required

  The ID of the location that will be associated with the delivery promise provider.

* time​Zone

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The time zone to be used for interpreting day of week and cutoff times in delivery schedules when looking up delivery promises. Defaults to `UTC` when creating a provider.

***

## Delivery​Promise​Provider​Upsert​Payload returns

* delivery​Promise​Provider

  [Delivery​Promise​Provider](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryPromiseProvider)

  The created or updated delivery promise provider.

* user​Errors

  [\[Delivery​Promise​Provider​Upsert​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryPromiseProviderUpsertUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### deliveryPromiseProviderUpsert reference