# No customer field available on orderCreate mutation

**URL:** <https://community.shopify.dev/t/no-customer-field-available-on-ordercreate-mutation/1848>\
**Category:** GraphQL Admin API Troubleshooting\
**Tags:** general-gql-troubles\
**Created:** [November 5, 2024, 1:04pm UTC](https://community.shopify.dev/t/no-customer-field-available-on-ordercreate-mutation/1848 "2024-11-05T13:04:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalen](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/kalen/32/163_2.png) [@kalen](https://community.shopify.dev/u/kalen)\
**Post date:** [November 5, 2024, 1:04pm UTC](https://community.shopify.dev/t/no-customer-field-available-on-ordercreate-mutation/1848/1 "2024-11-05T13:04:23Z")

</div>

It says that customerId is deprecated and that customer should be used instead, but there is no customer field available:

> **[orderCreate - GraphQL Admin](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/orderCreate)**
>
> Creates an order.

 ![CleanShot 2024-11-05 at 07.03.42](https://global.discourse-cdn.com/shopifycommunity/original/2X/5/5b2ddfa1aa47f5bfb16555fa59c30df6d5aa4993.png)

---

<div class="post-metadata">

**Author:** ![ozzyonfire](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ozzyonfire/32/892_2.png) [@ozzyonfire](https://community.shopify.dev/u/ozzyonfire)\
**Post date:** [November 5, 2024, 3:26pm UTC](https://community.shopify.dev/t/no-customer-field-available-on-ordercreate-mutation/1848/2 "2024-11-05T15:26:14Z")

</div>

I ran into the same issue. I am just using customerId for now, but it would be great to have this fixed.

---

<div class="post-metadata">

**Author:** ![Rob-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/rob-shopify/32/212_2.png) [@Rob-Shopify](https://community.shopify.dev/u/Rob-Shopify)\
**Post date:** [November 5, 2024, 6:01pm UTC](https://community.shopify.dev/t/no-customer-field-available-on-ordercreate-mutation/1848/3 "2024-11-05T18:01:50Z")

</div>

In the next API version (`2025-01`), there is a new [`customer` input field](https://shopify.dev/docs/api/admin-graphql/2025-01/input-objects/OrderCreateOrderInput#field-customer) that allows you to associate a customer by id/email, or create/update a customer.

The messaging is confusing as the new `customer` input isn’t available on older API versions.
