stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > FulfillmentOrderAssignedLocation

AdminTypes.FulfillmentOrderAssignedLocation interface

The fulfillment order’s assigned location. This is the location where the fulfillment is expected to happen.

The fulfillment order’s assigned location might change in the following cases:

If the [fulfillmentOrderMove]( https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove ) mutation has moved the fulfillment order’s line items to a new location, but hasn’t moved the fulfillment order instance itself, then the original fulfillment order’s assigned location doesn’t change. This happens if the fulfillment order is being split during the move, or if all line items can be moved to an existing fulfillment order at a new location.

Once the fulfillment order has been taken into work or canceled, which means that the fulfillment order has the [IN_PROGRESS](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-inprogress), [CLOSED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-closed), [CANCELLED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-cancelled), or [INCOMPLETE](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-incomplete) status, FulfillmentOrderAssignedLocation acts as a snapshot of the shop’s location content. Up-to-date shop’s location data may be queried through [location]( https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderAssignedLocation#field-fulfillmentorderassignedlocation-location ) connection.

Signature:

export interface FulfillmentOrderAssignedLocation 

Properties

Property Modifiers Type Description
address1?   Maybe<Scalars[‘String’][‘output’]> (Optional) The first line of the address for the location.
address2?   Maybe<Scalars[‘String’][‘output’]> (Optional) The second line of the address for the location.
city?   Maybe<Scalars[‘String’][‘output’]> (Optional) The city of the location.
countryCode   CountryCode | `${CountryCode}` The two-letter country code of the location.
location?   Maybe<Location> (Optional) The location where the fulfillment is expected to happen. This value might be different from FulfillmentOrderAssignedLocation if the location’s attributes were updated after the fulfillment order was taken into work of canceled.
name   Scalars[‘String’][‘output’] The name of the location.
phone?   Maybe<Scalars[‘String’][‘output’]> (Optional) The phone number of the location.
province?   Maybe<Scalars[‘String’][‘output’]> (Optional) The province of the location.
zip?   Maybe<Scalars[‘String’][‘output’]> (Optional) The ZIP code of the location.