---
title: "Convert Data Between Formats"
method: POST
path: "/v3/convert"
tags: ["Conversion"]
---

# Convert Data Between Formats

`POST /v3/convert`

This endpoint will convert JSON into X12, or X12 into JSON. Set the "Content-Type" header as the format you are sending, and the "Accept" header as the format you would like to receive back.

## Headers

- `orderful-api-key` string, required
- `Content-Type` 'application/edi-x12' | 'application/json', required
- `Accept` 'application/edi-x12' | 'application/json', required

## Request body

- object

## Response `201`

Data converted successfully.

- object

---

[API](https://skmtc.dev/orderful/apis/orderful-api.md) · [All operations](https://skmtc.dev/orderful/apis/orderful-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orderful/orderful-api/revisions/c2e12b39b4e1/schema)
