{"method":"POST","path":"https://api.revcent.com/v2/fulfillment_accounts","summary":"Create A Fulfillment Account","description":"Create a Fulfillment Account, which will issue a unique Fulfillment Account ID. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/CreateFulfillmentAccount.md for an in-depth overview of this operation.","operationId":"CreateFulfillmentAccount","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.","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.","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"]}}},"required":["name","fulfillment_center"],"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."}}}