P_enableDeclaredStockKeyReplacements

Enable the DeclaredStock key replacements feature. This requires DeclaredStock to be enabled.

This action requires "Declared Stock" integration to be enabled Please read the "Declared Stock" mutation for additional details.

This action requires that you register DECLARED_STOCK_REPLACEMENT_RESERVATION and DECLARED_STOCK_REPLACEMENT_PROVISION callbacks using P_registerCallback mutation.

Supported arguments

The mutation does not support arguments.

Return type

The query returns the P_API_EnableDeclaredStockKeyReplacementsResponse type.

Example usage

Mutation

The following mutation will enable declared stock key replacements.

mutation {
  P_enableDeclaredStockKeyReplacements {
    success
  }
}

Result

Here we have got the response, it says that we have the "Declared Stock" key replacements feature enabled.

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