Accepting credit cards, warehouses, and shipping and fulfilling orders
As per the Shopify document, we tried to create a reverse fulfillment order with disposition option as **RESTOCKED** and got an error from Shopify as follows:-
```
{
'errors': [
{
'code': 'INVALID',
'field': [
'dispositionInputs',
'0',
'dispositionType'
],
'message': 'RESTOCKED is an invalid disposition type for a custom line item.'
}
],
'reverseFulfillmentOrderLineItems': {
},
'cost_and_rate_limit': {
'maximumAvailable': 2000,
'currentlyAvailable': 1990,
'restoreRate': 100,
'code': ''
}
}
```
We need some clarity on **RESTOCKED is an invalid disposition type for a custom line item.**
We tested this GraphQL on our test store and followed this document
GQL Mutation Query we used as follows:-
```
mutation reverseFulfillmentOrderDispose($dispositionInputs: [ReverseFulfillmentOrderDisposeInput!]!) {
reverseFulfillmentOrderDispose(dispositionInputs: $dispositionInputs) {
reverseFulfillmentOrderLineItems {
id
dispositions{
id
location{
id
name
}
type
quantity
}
fulfillmentLineItem{
lineItem{
sku
}
}
totalQuantity
}
userErrors {
code
field
message
}
}
}
```
Variables:
```
{
"dispositionInputs": [
{
"dispositionType": "RESTOCKED",
"locationId": "gid://shopify/Location/75634802903",
"quantity": 1,
"reverseFulfillmentOrderLineItemId": "gid://shopify/ReverseFulfillmentOrderLineItem/12267454679"
},
{
"dispositionType": "RESTOCKED",
"locationId": "gid://shopify/Location/75634802903",
"quantity": 1,
"reverseFulfillmentOrderLineItemId": "gid://shopify/ReverseFulfillmentOrderLineItem/12267487447"
}
]
}
```
Need some urgent help on this.
Thanks!!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025