{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to update an existing Sender.**\n\nUpdates to `from.email` require re-verification. If your domain has been authenticated, a new Sender will auto verify on creation. Otherwise, an email will be sent to the `from.email`.\n\nPartial updates are allowed, but fields that are marked as \"required\" in the `POST` (create) endpoint must not be nil if that field is included in the `PATCH` request.","properties":{"headers":{"type":"object","properties":{"on-behalf-of":{"type":"string","description":"The `on-behalf-of` header allows you to make API calls from a parent account on behalf of the parent's Subusers or customer accounts. You will use the parent account's API key when using this header. When making a call on behalf of a customer account, the property value should be \"account-id\" followed by the customer account's ID (e.g., `on-behalf-of: account-id <account-id>`). When making a call on behalf of a Subuser, the property value should be the Subuser's username (e.g., `on-behalf-of: <subuser-username>`). See [**On Behalf Of**](https://docs.sendgrid.com/api-reference/how-to-use-the-sendgrid-v3-api/on-behalf-of) for more information."}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"id":{"type":"integer","description":"The unique identifier of the Sender."}},"required":["id"],"additionalProperties":false},"body":{"$ref":"#/definitions/SenderRequest"}},"required":["path"],"additionalProperties":false,"definitions":{"SenderRequest":{"title":"Sender Request","type":"object","properties":{"nickname":{"type":"string","description":"A nickname for the Sender. Not used for sending."},"from":{"type":"object","properties":{"email":{"type":"string","description":"The email address from which your recipient will receive emails."},"name":{"type":"string","description":"The name appended to the from email field. Typically your name or company name."}}},"reply_to":{"type":"object","properties":{"email":{"type":"string","description":"The email address to which your recipient will reply."},"name":{"type":"string","description":"The name appended to the reply to email field. Typically your name or company name."}}},"address":{"type":"string","description":"The physical address of the Sender."},"address_2":{"type":"string","description":"Additional Sender address information."},"city":{"type":"string","description":"The city of the Sender."},"state":{"type":"string","description":"The state of the Sender."},"zip":{"type":"string","description":"The zipcode of the Sender."},"country":{"type":"string","description":"The country of the Sender."}},"examples":[{"nickname":"Example Orders","from":{"email":"orders@example.com","name":"Example Orders"},"reply_to":{"email":"support@example.com","name":"Example Support"},"address":"1234 Fake St.","address_2":"","city":"San Francisco","state":"CA","zip":"94105","country":"United States"}]}}},"name":"Update a Sender","id":"sendgrid.mc_senders.updatesender","example":{"path":{"id":1}},"maxRequests":1,"summary":false}}