Merge subpackage_salesOrders API

The subpackage_salesOrders API from Merge — 7 operation(s) for subpackage_salesorders.

Operations 8

GET /accounting/v1/sales-orders List #
POST /accounting/v1/sales-orders Create #
GET /accounting/v1/sales-orders/{id} Retrieve #
GET /accounting/v1/sales-orders/lines/remote-field-classes Lines Remote Field Classes List #
GET /accounting/v1/sales-orders/meta/post Meta Post Retrieve #
GET /accounting/v1/sales-orders/remote-field-classes Remote Field Classes List #
POST /accounting/v1/sales-orders/bulk Async Bulk Create #
GET /accounting/v1/sales-orders/bulk/{batch_id} Batch Objects List #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/hris-api-employee-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/hris-api-employee-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/ats-api-candidate-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/ats-api-application-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/ats-api-candidate-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/accounting-api-invoice-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/accounting-api-invoice-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/ticketing-api-ticket-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/ticketing-api-ticket-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/crm-api-opportunity-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/crm-api-opportunity-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/file-storage-api-file-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/file-storage-api-file-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/knowledge-base-api-article-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/knowledge-base-api-article-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/chat-api-message-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/chat-api-message-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/agent-handler-tool-pack-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/agent-handler-tool-pack-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/gateway-response-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/gateway-response-structure.json

Other Resources

🔗
Website
https://www.merge.dev/categories/hr-payroll-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-hris-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/hris-api-employee-example.json
🔗
Website
https://www.merge.dev/categories/ats-recruiting-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-ats-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/ats-api-candidate-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/ats-api-application-example.json
🔗
Website
https://www.merge.dev/categories/accounting-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-accounting-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/accounting-api-invoice-example.json
🔗
Website
https://www.merge.dev/categories/ticketing-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-ticketing-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/ticketing-api-ticket-example.json
🔗
Website
https://www.merge.dev/categories/crm-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-crm-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/crm-api-opportunity-example.json
🔗
Website
https://www.merge.dev/categories/file-storage-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-file-storage-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/file-storage-api-file-example.json
🔗
Website
https://www.merge.dev/categories/knowledge-base
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-knowledge-base-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/knowledge-base-api-article-example.json
🔗
Website
https://www.merge.dev/categories/chat
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-chat-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/chat-api-message-example.json
🔗
Website
https://www.merge.dev/merge-agent-handler
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-agent-handler-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/agent-handler-tool-pack-example.json
🔗
Support
https://help.ah.merge.dev/
🔗
Website
https://www.merge.dev/gateway
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-gateway-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/gateway-response-example.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/merge-subpackage-salesorders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

merge-subpackage-salesorders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Accounting Subpackage Sales Orders API
  version: 1.0.0
servers:
- url: https://api.merge.dev/api
- url: https://api-eu.merge.dev/api
- url: https://api-ap.merge.dev/api
tags:
- name: subpackage_salesOrders
paths:
  /accounting/v1/sales-orders:
    get:
      operationId: list
      summary: List
      description: Returns a list of `SalesOrder` objects.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs53H932G3VKFX1D7zQ7/caN4uJnbxr8EJoDrExHItlPj67y2+Kg/zoYJmvvnXz1XyV38zfNHgBjeF42B2NrzqjQX9vtCOAX779cfj94+Djed4Qq+NOfnN1l4/F3nAs5pPVWef8RNydn35d5qur/eHgWycfH3fPT+ze6OgiDI8u7LDfbrMm27xV1vv5sGmohZMjXUZF+DL6rIQCN1hZXwc41XJxopVoh04bSlhZA3ehLWyZlSgVZDlSSGg8LCJ4bLtKuxVhyponzlmPHeen/fzoePBSBv1bUBomGlmPfMRXOma9nxsv4LMymIo7MPesue2QGIRXrqr3yqkIy91WPo16qrROEuNaGQyv4xYRDCnaUdRjaQl5ksZfndwBzf4YoeRrV0i/3NYvf8tJsOQeqlvc8kSjFjEhoqH0mHYkR6OIO69ESn+mU0Tv0Yj1MZAtq1xcihmYAn+XU+bWKlGRpEKI1XSVfYvKeolUgSWW9vdK4zFW0zq4rxgn9OliaiKERyCUHNK6eMntDjI32avP0aV+aoAwU86lFQlSegyplUBAMR3IEuj09SDmKaZexKrqmDyYAJV2uYnlBD27TjUWUXmUX8BDiYQ+6fP68frxF9d5FqrHBQAA" /></Footer>{/* END_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: company_id
        in: query
        description: If provided, will only return sales orders for this company.
        required: false
        schema:
          type: string
      - name: created_after
        in: query
        description: If provided, will only return objects created after this datetime.
        required: false
        schema:
          type: string
          format: date-time
      - name: created_before
        in: query
        description: If provided, will only return objects created before this datetime.
        required: false
        schema:
          type: string
          format: date-time
      - name: cursor
        in: query
        description: The pagination cursor value.
        required: false
        schema:
          type: string
      - name: expand
        in: query
        description: Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/SalesOrdersGetParametersExpandSchemaItems'
      - name: include_deleted_data
        in: query
        description: Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
        required: false
        schema:
          type: boolean
      - name: include_remote_data
        in: query
        description: Whether to include the original data Merge fetched from the third-party to produce these models.
        required: false
        schema:
          type: boolean
      - name: include_remote_fields
        in: query
        description: Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
        required: false
        schema:
          type: boolean
      - name: include_shell_data
        in: query
        description: Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
        required: false
        schema:
          type: boolean
      - name: issue_date_after
        in: query
        description: If provided, will only return objects created after this datetime.
        required: false
        schema:
          type: string
          format: date-time
      - name: issue_date_before
        in: query
        description: If provided, will only return objects created before this datetime.
        required: false
        schema:
          type: string
          format: date-time
      - name: modified_after
        in: query
        description: If provided, only objects synced by Merge after this date time will be returned.
        required: false
        schema:
          type: string
          format: date-time
      - name: modified_before
        in: query
        description: If provided, only objects synced by Merge before this date time will be returned.
        required: false
        schema:
          type: string
          format: date-time
      - name: page_size
        in: query
        description: Number of results to return per page. The maximum limit is 100.
        required: false
        schema:
          type: integer
      - name: remote_fields
        in: query
        description: Deprecated. Use show_enum_origins.
        required: false
        schema:
          $ref: '#/components/schemas/SalesOrdersGetParametersRemoteFields'
      - name: remote_id
        in: query
        description: The API provider's ID for the given object.
        required: false
        schema:
          type: string
      - name: show_enum_origins
        in: query
        description: A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
        required: false
        schema:
          $ref: '#/components/schemas/SalesOrdersGetParametersShowEnumOrigins'
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSalesOrderList'
    post:
      operationId: create
      summary: Create
      description: Creates a `SalesOrder` object with the given values.{/* BEGIN_ACCOUNTING_SALESORDER_CREATE_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="POST" data="H4sIAAAAAAAAA41TbU/iQBD+L/uRlPYQOWOTywWBU0lY7hQvZ4xpht2xLOxL2RdBjP/90hYF7kz0085Mn3lmnunMM2HgMTf2iaQEGDNBe6FzEhFlOEqSkmuQ6MaWoyURgUJQUHiAzR6PSERcKApjPfIfAiV3FxYfSEoShTbHZtDiQSBPdkmJ0B5zC14Y7ZK35OZDlU0iIoVeIO/WCR/T1fDmNvKP6xIpnCcRKcA5P7Mm5LMrXAZ0n2Aue5OoUHuQTQ4ekj2Wpq1p3ouVKjhK9Mj74KGPHlkpd1tx5n3h0iSZoSziqnrM8TFBnYD1gkl0Sad9enRy2mluWarq37Ncfms15supmZ40spzJDEJjNGFrOrlc0Xl+THvHa7q56dDNYkPniy+NLIfGaDLqjCe37XG/2xq/A8iuv/45/X3WPxvSBtsM2nR+u6IT1hpN2GK6uWwPz9lqePFrTTe3R6P+TZtOBp3huWmNe1du1Lsyo24ck4js/1WS3j3vB7aLQ9FfB+HxEH2pIMe9qdS/AwrRLMJUCha7dgwKNkbDysXMqEQhF5BQ9K5ky9wygMW4qHa3Gpgw+m3mJCUDetGlvUH/cA26jyAkTCWS1NuA/+0xSe8IM6oA/UQiwoK1qFltOm9UdRS4ZjPQOWYWalnOBcx47UihsdwEhcq8XlUWguBVH0/lXmUerSIRsaiMx4xZBI88A7+LVfCtHQq+++5moijKIwTOLbqykvPgQ2l440GWrwW2KDHbUxdVQ96CdlBNJ9NBTdGS+7LGMgiL/CdYUOjR1hPYiX0142039cEeeBmTUHXyqr16Y+GxVFk7n8j+EHL/cv/yFxnRPzXABAAA" /></Footer>{/* END_ACCOUNTING_SALESORDER_CREATE_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: is_debug_mode
        in: query
        description: Whether to include debug fields (such as log file links) in the response.
        required: false
        schema:
          type: boolean
      - name: run_async
        in: query
        description: Whether or not third-party updates should be run asynchronously.
        required: false
        schema:
          type: boolean
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesOrderResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalesOrderEndpointRequest'
  /accounting/v1/sales-orders/{id}:
    get:
      operationId: retrieve
      summary: Retrieve
      description: Returns a `SalesOrder` object with the given `id`.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs53H932G3VKFX1D7zQ7/caN4uJnbxr8EJoDrExHItlPj67y2+Kg/zoYJmvvnXz1XyV38zfNHgBjeF42B2NrzqjQX9vtCOAX779cfj94+Djed4Qq+NOfnN1l4/F3nAs5pPVWef8RNydn35d5qur/eHgWycfH3fPT+ze6OgiDI8u7LDfbrMm27xV1vv5sGmohZMjXUZF+DL6rIQCN1hZXwc41XJxopVoh04bSlhZA3ehLWyZlSgVZDlSSGg8LCJ4bLtKuxVhyponzlmPHeen/fzoePBSBv1bUBomGlmPfMRXOma9nxsv4LMymIo7MPesue2QGIRXrqr3yqkIy91WPo16qrROEuNaGQyv4xYRDCnaUdRjaQl5ksZfndwBzf4YoeRrV0i/3NYvf8tJsOQeqlvc8kSjFjEhoqH0mHYkR6OIO69ESn+mU0Tv0Yj1MZAtq1xcihmYAn+XU+bWKlGRpEKI1XSVfYvKeolUgSWW9vdK4zFW0zq4rxgn9OliaiKERyCUHNK6eMntDjI32avP0aV+aoAwU86lFQlSegyplUBAMR3IEuj09SDmKaZexKrqmDyYAJV2uYnlBD27TjUWUXmUX8BDiYQ+6fP68frxF9d5FqrHBQAA" /></Footer>{/* END_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: expand
        in: query
        description: Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/SalesOrdersIdGetParametersExpandSchemaItems'
      - name: include_remote_data
        in: query
        description: Whether to include the original data Merge fetched from the third-party to produce these models.
        required: false
        schema:
          type: boolean
      - name: include_remote_fields
        in: query
        description: Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
        required: false
        schema:
          type: boolean
      - name: include_shell_data
        in: query
        description: Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
        required: false
        schema:
          type: boolean
      - name: remote_fields
        in: query
        description: Deprecated. Use show_enum_origins.
        required: false
        schema:
          $ref: '#/components/schemas/SalesOrdersIdGetParametersRemoteFields'
      - name: show_enum_origins
        in: query
        description: A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
        required: false
        schema:
          $ref: '#/components/schemas/SalesOrdersIdGetParametersShowEnumOrigins'
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesOrder'
  /accounting/v1/sales-orders/lines/remote-field-classes:
    get:
      operationId: lines-remote-field-classes-list
      summary: Lines Remote Field Classes List
      description: Returns a list of `RemoteFieldClass` objects.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs53H932G3VKFX1D7zQ7/caN4uJnbxr8EJoDrExHItlPj67y2+Kg/zoYJmvvnXz1XyV38zfNHgBjeF42B2NrzqjQX9vtCOAX779cfj94+Djed4Qq+NOfnN1l4/F3nAs5pPVWef8RNydn35d5qur/eHgWycfH3fPT+ze6OgiDI8u7LDfbrMm27xV1vv5sGmohZMjXUZF+DL6rIQCN1hZXwc41XJxopVoh04bSlhZA3ehLWyZlSgVZDlSSGg8LCJ4bLtKuxVhyponzlmPHeen/fzoePBSBv1bUBomGlmPfMRXOma9nxsv4LMymIo7MPesue2QGIRXrqr3yqkIy91WPo16qrROEuNaGQyv4xYRDCnaUdRjaQl5ksZfndwBzf4YoeRrV0i/3NYvf8tJsOQeqlvc8kSjFjEhoqH0mHYkR6OIO69ESn+mU0Tv0Yj1MZAtq1xcihmYAn+XU+bWKlGRpEKI1XSVfYvKeolUgSWW9vdK4zFW0zq4rxgn9OliaiKERyCUHNK6eMntDjI32avP0aV+aoAwU86lFQlSegyplUBAMR3IEuj09SDmKaZexKrqmDyYAJV2uYnlBD27TjUWUXmUX8BDiYQ+6fP68frxF9d5FqrHBQAA" /></Footer>{/* END_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: cursor
        in: query
        description: The pagination cursor value.
        required: false
        schema:
          type: string
      - name: include_deleted_data
        in: query
        description: Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
        required: false
        schema:
          type: boolean
      - name: include_remote_data
        in: query
        description: Whether to include the original data Merge fetched from the third-party to produce these models.
        required: false
        schema:
          type: boolean
      - name: include_shell_data
        in: query
        description: Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
        required: false
        schema:
          type: boolean
      - name: is_common_model_field
        in: query
        description: If provided, will only return remote field classes with this is_common_model_field value
        required: false
        schema:
          type: boolean
      - name: is_custom
        in: query
        description: If provided, will only return remote fields classes with this is_custom value
        required: false
        schema:
          type: boolean
      - name: page_size
        in: query
        description: Number of results to return per page. The maximum limit is 100.
        required: false
        schema:
          type: integer
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedRemoteFieldClassList'
  /accounting/v1/sales-orders/meta/post:
    get:
      operationId: meta-post-retrieve
      summary: Meta Post Retrieve
      description: Returns metadata for `SalesOrder` POSTs.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs53H932G3VKFX1D7zQ7/caN4uJnbxr8EJoDrExHItlPj67y2+Kg/zoYJmvvnXz1XyV38zfNHgBjeF42B2NrzqjQX9vtCOAX779cfj94+Djed4Qq+NOfnN1l4/F3nAs5pPVWef8RNydn35d5qur/eHgWycfH3fPT+ze6OgiDI8u7LDfbrMm27xV1vv5sGmohZMjXUZF+DL6rIQCN1hZXwc41XJxopVoh04bSlhZA3ehLWyZlSgVZDlSSGg8LCJ4bLtKuxVhyponzlmPHeen/fzoePBSBv1bUBomGlmPfMRXOma9nxsv4LMymIo7MPesue2QGIRXrqr3yqkIy91WPo16qrROEuNaGQyv4xYRDCnaUdRjaQl5ksZfndwBzf4YoeRrV0i/3NYvf8tJsOQeqlvc8kSjFjEhoqH0mHYkR6OIO69ESn+mU0Tv0Yj1MZAtq1xcihmYAn+XU+bWKlGRpEKI1XSVfYvKeolUgSWW9vdK4zFW0zq4rxgn9OliaiKERyCUHNK6eMntDjI32avP0aV+aoAwU86lFQlSegyplUBAMR3IEuj09SDmKaZexKrqmDyYAJV2uYnlBD27TjUWUXmUX8BDiYQ+6fP68frxF9d5FqrHBQAA" /></Footer>{/* END_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaResponse'
  /accounting/v1/sales-orders/remote-field-classes:
    get:
      operationId: remote-field-classes-list
      summary: Remote Field Classes List
      description: Returns a list of `RemoteFieldClass` objects.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs53H932G3VKFX1D7zQ7/caN4uJnbxr8EJoDrExHItlPj67y2+Kg/zoYJmvvnXz1XyV38zfNHgBjeF42B2NrzqjQX9vtCOAX779cfj94+Djed4Qq+NOfnN1l4/F3nAs5pPVWef8RNydn35d5qur/eHgWycfH3fPT+ze6OgiDI8u7LDfbrMm27xV1vv5sGmohZMjXUZF+DL6rIQCN1hZXwc41XJxopVoh04bSlhZA3ehLWyZlSgVZDlSSGg8LCJ4bLtKuxVhyponzlmPHeen/fzoePBSBv1bUBomGlmPfMRXOma9nxsv4LMymIo7MPesue2QGIRXrqr3yqkIy91WPo16qrROEuNaGQyv4xYRDCnaUdRjaQl5ksZfndwBzf4YoeRrV0i/3NYvf8tJsOQeqlvc8kSjFjEhoqH0mHYkR6OIO69ESn+mU0Tv0Yj1MZAtq1xcihmYAn+XU+bWKlGRpEKI1XSVfYvKeolUgSWW9vdK4zFW0zq4rxgn9OliaiKERyCUHNK6eMntDjI32avP0aV+aoAwU86lFQlSegyplUBAMR3IEuj09SDmKaZexKrqmDyYAJV2uYnlBD27TjUWUXmUX8BDiYQ+6fP68frxF9d5FqrHBQAA" /></Footer>{/* END_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: cursor
        in: query
        description: The pagination cursor value.
        required: false
        schema:
          type: string
      - name: include_deleted_data
        in: query
        description: Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
        required: false
        schema:
          type: boolean
      - name: include_remote_data
        in: query
        description: Whether to include the original data Merge fetched from the third-party to produce these models.
        required: false
        schema:
          type: boolean
      - name: include_shell_data
        in: query
        description: Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
        required: false
        schema:
          type: boolean
      - name: is_common_model_field
        in: query
        description: If provided, will only return remote field classes with this is_common_model_field value
        required: false
        schema:
          type: boolean
      - name: is_custom
        in: query
        description: If provided, will only return remote fields classes with this is_custom value
        required: false
        schema:
          type: boolean
      - name: page_size
        in: query
        description: Number of results to return per page. The maximum limit is 100.
        required: false
        schema:
          type: integer
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedRemoteFieldClassList'
  /accounting/v1/sales-orders/bulk:
    post:
      operationId: async-bulk-create
      summary: Async Bulk Create
      description: Creates multiple `SalesOrder` objects with the given values.{/* BEGIN_ACCOUNTING_SALESORDER_BULK_CREATE_SUPPORTED_FIELDS */}{/* END_ACCOUNTING_SALESORDER_BULK_CREATE_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '202':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncBulkCreateResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalesOrderBulkRequest'
  /accounting/v1/sales-orders/bulk/{batch_id}:
    get:
      operationId: batch-objects-list
      summary: Batch Objects List
      description: Returns the status and results of a `SalesOrder` bulk create batch.{/* BEGIN_ACCOUNTING_SALESORDER_BULK_FETCH_SUPPORTED_FIELDS */}{/* END_ACCOUNTING_SALESORDER_BULK_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_salesOrders
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: Token-based authentication with required prefix "Bearer"
        required: true
        schema:
          type: string
      - name: X-Account-Token
        in: header
        description: Token identifying the end user.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchObjectsResponse'
components:
  schemas:
    SalesOrdersGetParametersShowEnumOrigins:
      type: string
      enum:
      - status
      title: SalesOrdersGetParametersShowEnumOrigins
    ValidationProblemSource:
      type: object
      properties:
        pointer:
          type: string
      required:
      - pointer
      title: ValidationProblemSource
    WarningValidationProblem:
      type: object
      properties:
        source:
          $ref: '#/components/schemas/ValidationProblemSource'
        title:
          type: string
        detail:
          type: string
        problem_type:
          type: string
        block_merge_link:
          type: boolean
        raw_error:
          type: string
        error_code:
          type: integer
      required:
      - title
      - detail
      - problem_type
      title: WarningValidationProblem
    AsyncBulkCreateResponse:
      type: object
      properties:
        batch_id:
          type: string
          format: uuid
          description: The ID of the batch.
      required:
      - batch_id
      description: Response serializer for POST bulk create - returns only batch_id
      title: AsyncBulkCreateResponse
    SalesOrderLine:
      type: object
      properties:
        id:
          type: string
          format: uuid
        remote_id:
          type:
          - string
          - 'null'
          description: The third-party API ID of the matching object.
        created_at:
          type: string
          format: date-time
          description: The datetime that this object was created by Merge.
        modified_at:
          type: string
          format: date-time
          description: The datetime that this object was modified by Merge.
        description:
          type:
          - string
          - 'null'
          description: Description of the line item.
        unit_price:
          type:
          - string
          - 'null'
          format: decimal
          description: The unit price of the item.
        quantity:
          type:
          - string
          - 'null'
          format: decimal
          description: Quantity ordered for this line.
        item:
          type:
          - string
          - 'null'
          format: uuid
        tax_rate:
          type:
          - string
          - 'null'
          format: uuid
          description: The tax rate of the line item.
        tracking_categories:
          type: array
          items:
            type: string
            format: uuid
          description: The dimensions or classification tags.
        company:
          type:
          - string
          - 'null'
          format: uuid
          description: The subsidiary associated with the order.
        remote_created_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When the third party's sales order line item was created.
        remote_updated_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When the third party's sales order line item was updated.
        remote_was_deleted:
          type: boolean
          description: Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
        remote_fields:
          type: array
          items:
            $ref: '#/components/schemas/RemoteField'
      description: '# The SalesOrderLine Object

        ### Description

        The `SalesOrderLine` object represents a specific line item on a sales order.


        ### Usage Example

        Fetch from the `GET SalesOrder` endpoint and view a company''s sales order line items.'
      title: SalesOrderLine
    BatchObjectsResponseStatusEnum:
      type: string
      enum:
      - ENQUEUED
      - IN_PROGRESS
      - PARTIAL_SUCCESS
      - SUCCESS
      - FAILED
      - RATE_LIMITED
      title: BatchObjectsResponseStatusEnum
    ItemTypeEnum:
      type: string
      enum:
      - string
      - number
      - date
      - datetime
      - bool
      - list
      title: ItemTypeEnum
    DebugModelLogSummary:
      type: object
      properties:
        url:
          type: string
        method:
          type: string
        status_code:
          type: integer
      required:
      - url
      - method
      - status_code
      title: DebugModelLogSummary
    PaginatedSalesOrderList:
      type: object
      properties:
        next:
          type:
          - string
          - 'null'
        previous:
          type:
          - string
          - 'null'
        results:
          type: array
          items:
            $ref: '#/components/schemas/SalesOrder'
      title: PaginatedSalesOrderList
    TransactionCurrencyEnum:
      type: string
      enum:
      - XUA
      - AFN
      - AFA
      - ALL
      - ALK
      - DZD
      - ADP
      - AOA
      - AOK
      - AON
      - AOR
      - ARA
      - ARS
      - ARM
      - ARP
      - ARL
      - AMD
      - AWG
      - AUD
      - ATS
      - AZN
      - AZM
      - BSD
      - BHD
      - BDT
      - BBD
      - BYN
      - BYB
      - BYR
      - BEF
      - BEC
      - BEL
      - BZD
      - BMD
      - BTN
      - BOB
      - BOL
      - BOV
      - BOP
      - BAM
      - BAD
      - BAN
      - BWP
      - BRC
      - BRZ
      - BRE
      - BRR
      - BRN
      - BRB
      - BRL
      - GBP
      - BND
      - BGL
      - BGN
      - BGO
      - BGM
      - BUK
      - BIF
      - XPF
      - KHR
      - CAD
      - CVE
      - KYD
      - XAF
      - CLE
      - CLP
      - CLF
      - CNX
      - CNY
      - CNH
      - COP
      - COU
      - KMF
      - CDF
      - CRC
      - HRD
      - HRK
      - CUC
      - CUP
      - CYP
      - CZK
      - CSK
      - DKK
      - DJF
      - DOP
      - NLG
      - XCD
      - DDM
      - ECS
      - ECV
      - EGP
      - GQE
      - ERN
      - EEK
      - ETB
      - EUR
      - XBA
      - XEU
      - XBB
      - XBC
      - XBD
      - FKP
      - FJD
      - FIM
      - FRF
      - XFO
      - XFU
      - GMD
      - GEK
      - GEL
      - DEM
      - GHS
      - GHC
      - GIP
      - XAU
      - GRD
      - GTQ
      - GWP
      - GNF
      - GNS
      - GYD
      - HTG
      - HNL
      - HKD
      - HUF
      - IMP
      - ISK
      - ISJ
      - INR
      - IDR
      - IRR
      - IQD
      - IEP
      - ILS
      - ILP
      - ILR
      - ITL
      - JMD
      - JPY
      - JOD
      - KZT
      - KES
      - KWD
      - KGS
      - LAK
      - LVL
      - LVR
      - LBP
      - LSL
      - LRD
      - LYD
      - LTL
      - LTT
      - LUL
      - LUC
      - LUF
      - MOP
      - MKD
      - MKN
      - MGA
      - MGF
      - MWK
      - MYR
      - MVR
      - MVP
      - MLF
      - MTL
      - MTP
      - MRU
      - MRO
      - MUR
      - MXV
      - MXN
      - MXP
      - MDC
      - MDL
      - MCF
      - MNT
      - MAD
      - MAF
      - MZE
      - MZN
      - MZM
      - MMK
      - NAD
      - NPR
      - ANG
      - TWD
      - NZD
      - NIO
      - NIC
      - NGN
      - KPW
      - NOK
      - OMR
      - PKR
      - XPD
      - PAB
      - PGK
      - PYG
      - PEI
      - PEN
      - PES
      - PHP
      - XPT
      - PLN
      - PLZ
      - PTE
      - GWE
      - QAR
      - XRE
      - RHD
      - RON
      - ROL
      - RUB
      - RUR
      - RWF
      - SVC
      - WST
      - SAR
      - RSD
      - CSD
      - SCR
      - SLL
      - XAG
      - SGD
      - SKK
      - SIT
      - SBD
      - SOS
      - ZAR
      - ZAL
      - KRH
      - KRW
      - KRO
      - SSP
      - SUR
      - ESP
      - ESA
      - ESB
      - XDR
      - LKR
      - SHP
      - XSU
      - SDD
      - SDG
      - SDP
      - SRD
      - SRG
      - SZL
      - SEK
      - CHF
      - SYP
      - STN
      - STD
      - TVD
      - TJR
      - TJS
      - TZS
      - XTS
      - THB
      - XXX
      - TPE
      - TOP
      - TTD
      - TND
      - TRY
      - TRL
      - TMT
      - TMM
      - USD
      - USN
      - USS
      - UGX
      - UGS
      - UAH
      - UAK
      - AED
      - UYW
      - UYU
      - UYP
      - UYI
      - UZS
      - VUV
      - VES
      - VEB
      - VEF
      - VND
      - VNN
      - CHE
      - CHW
      - XOF
      - YDD
      - YER
      - YUN
      - YUD
      - YUM
      - YUR
      - ZWN
      - ZRN
      - ZRZ
      - ZMW
      - ZMK
      - ZWD
      - ZWR
      - ZWL
      description: The currency code in ISO 4217 format.
      title: TransactionCurrencyEnum
    BatchObjectItemResponse:
      type: object
      properti

# --- truncated at 32 KB (51 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/openapi/merge-subpackage-salesorders-api-openapi.yml