> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a NetSuite cash sale

> NetSuite cash sale created

### Path parameters

**tenant\_id** `string` *required*

Tenant identifier

### Request body

`object`

**orderData** `object` *required*

Cash sale data in NetSuite format

### Response

`object`

**recordId** `string` *required*

NetSuite internal record ID

**data** `object` *required*

Full record data

### Status codes

| Code | Meaning |
| - | - |
| `200` | NetSuite cash sale created |
| `401` | Unauthorized |
| `424` | NetSuite integration not configured |
| `502` | NetSuite API error |

```bash cURL theme={null}
curl --request POST \
  --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/netsuite/cash-sales' \
  --header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "orderData": {}
}'
```

```json 200 theme={null}
{
  "recordId": "string",
  "data": {}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.