Please help me way Complete a fulfillment

https://shopify.dev/api/admin-rest/2022-01/resources/fulfillment#[post]/admin/api/2022-01/orders/{order_id}/fulfillments/{fulfillment_id}/complete.json

i want to create a fulfillments status is [failure] to when i call complete API, fulfillments status come to [success].

please help me way create a fulfillments status is [failure] .