{"method":"POST","path":"https://api.revcent.com/v2/shipping/{shipping_id}","summary":"Edit A Shipment","description":"Edit the details of a specific shipment using the shipment ID. Changes to the ship to address will be updated at fulfillment where applicable. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/EditShipment.md for an in-depth overview of this operation.","operationId":"EditShipment","parameters":[{"in":"path","name":"shipping_id","description":"The shipping ID","required":true,"schema":{"type":"string","description":"A 20 character shipping ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"provider":{"description":"The shipping provider.","type":"string"},"provider_method":{"description":"The shipping provider method.","type":"string"},"provider_tracking":{"description":"The provider tracking number.","type":"string"},"shipped":{"description":"Indicate whether the shipment has been shipped.","type":"boolean"},"delivered":{"description":"Indicate whether the shipment has been delivered.","type":"boolean"},"ship_to":{"description":"The ship to information for the item.","type":"object","additionalProperties":false,"properties":{"first_name":{"type":"string","description":"The shipping first name."},"last_name":{"type":"string","description":"The shipping last name."},"address_line_1":{"type":"string","description":"The shipping first address line."},"address_line_2":{"type":"string","description":"The shipping second address line."},"city":{"type":"string","description":"The shipping city."},"state":{"type":"string","description":"The shipping state."},"zip":{"type":"string","description":"The shipping ZIP and or postal code."},"company":{"type":"string","description":"The shipping company."},"country":{"type":"string","description":"The shipping country in three letter ISO 3166-1 alpha-3 format."},"email":{"type":"string","format":"email","description":"The shipping email."},"phone":{"type":"string","description":"The shipping phone."}}}},"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]},"shipping_id":{"type":"string","description":"A 20 character shipping ID.","minLength":20,"maxLength":20}},"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."}}}