P_updateStockStatus

Enables or disables all the stock

Supported arguments

The following arguments are supported by P_updateStockStatus mutation:

FieldTypeDescription
inputP_API_UpdateStockStatusInput!

Return type

The mutation returns the P_API_UpdateStockStatusResponse type.

Example usage

Mutation

This mutation is rate limited at 1 request per 1 minute.

mutation {
    P_updateStockStatus(input: {enabled: false}) { # Disable all of the stock
        success
    }
}
mutation {
    P_updateStockStatus(input: {enabled: true}) { # Enable all of the stock
        success
    }
}

Result

{
  "data": {
    "P_updateStockStatus": {
      "success": true
    }
  }
}
Copyright 2025 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania