{"method":"POST","path":"https://api.revcent.com/v2/fulfillment_accounts/{fulfillment_account_id}","summary":"Edit A Fulfillment Account","description":"Edit a previously created Fulfillment Account using the Fulfillment Account ID. Only include the properties you wish to modify. For example, if you only want to modify the name of the Fulfillment Account, then only include the name property in the request body. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/EditFulfillmentAccount.md for an in-depth overview of this operation.","operationId":"EditFulfillmentAccount","parameters":[{"in":"path","name":"fulfillment_account_id","description":"The Fulfillment Account ID","required":true,"schema":{"type":"string","description":"A 20 character fulfillment account ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"type":"string","description":"The Fulfillment Account name. Must be unique from other Fulfillment Account names."},"description":{"type":"string","description":"The Fulfillment Account description."},"enabled":{"type":"boolean","description":"Whether the Fulfillment Account is enabled."},"fulfillment_center":{"type":"string","description":"A 20 character site fulfillment center ID. Every user fulfillment account must have a site fulfillment center associated. Use the GetSiteFulfillmentCenters operation to retrieve the list of available site fulfillment centers and their corresponding IDs.<br><br>Important If modifying the fulfillment center you must provide the fields array with respective required fields and values for the new fulfillment center.","minLength":20,"maxLength":20},"fields":{"type":"array","description":"An array of required fields and their values specific to the fulfillment center. Use the GetSiteFulfillmentCenter operation with the fulfillment center ID to retrieve the list of 'required_fields' whose id's and corresponding value's you will need to provide.<br><br>Important Only provide the fields array if you wish to replace the existing fields or if changing the site fulfillment center.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"The ID of the field based on the id from the required_fields for the site fulfillment center."},"value":{"type":"string","description":"The value of the field, which will be encrypted and saved by RevCent."}},"required":["id","value"]}}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"fulfillment_account_id":{"type":"string","description":"A 20 character fulfillment account ID.","minLength":20,"maxLength":20},"result":{"type":"string"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}