{
  "opencollection": "1.0.0",
  "info": {
    "name": "Accounting subpackage_salesOrders API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "subpackage_salesOrders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "If provided, will only return sales orders for this company."
              },
              {
                "name": "created_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created after this datetime."
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created before this datetime."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces."
              },
              {
                "name": "include_deleted_data",
                "value": "",
                "type": "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/)."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_remote_fields",
                "value": "",
                "type": "query",
                "description": "Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              },
              {
                "name": "issue_date_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created after this datetime."
              },
              {
                "name": "issue_date_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created before this datetime."
              },
              {
                "name": "modified_after",
                "value": "",
                "type": "query",
                "description": "If provided, only objects synced by Merge after this date time will be returned."
              },
              {
                "name": "modified_before",
                "value": "",
                "type": "query",
                "description": "If provided, only objects synced by Merge before this date time will be returned."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page. The maximum limit is 100."
              },
              {
                "name": "remote_fields",
                "value": "",
                "type": "query",
                "description": "Deprecated. Use show_enum_origins."
              },
              {
                "name": "remote_id",
                "value": "",
                "type": "query",
                "description": "The API provider's ID for the given object."
              },
              {
                "name": "show_enum_origins",
                "value": "",
                "type": "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)"
              }
            ]
          },
          "docs": "Returns a list of `SalesOrder` objects.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs53H932G"
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "is_debug_mode",
                "value": "",
                "type": "query",
                "description": "Whether to include debug fields (such as log file links) in the response."
              },
              {
                "name": "run_async",
                "value": "",
                "type": "query",
                "description": "Whether or not third-party updates should be run asynchronously."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "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/T1fDmNvKP6xIpnCcRKcA5P7Mm5LMrXAZ0n2Aue5OoUHuQTQ4ekj2Wpq1p3ouVKjhK9Mj74KGPHlkpd1tx5n3h0iSZoSziqnrM8TFBnYD"
        },
        {
          "info": {
            "name": "Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_remote_fields",
                "value": "",
                "type": "query",
                "description": "Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              },
              {
                "name": "remote_fields",
                "value": "",
                "type": "query",
                "description": "Deprecated. Use show_enum_origins."
              },
              {
                "name": "show_enum_origins",
                "value": "",
                "type": "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)"
              }
            ]
          },
          "docs": "Returns a `SalesOrder` object with the given `id`.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTS"
        },
        {
          "info": {
            "name": "Lines Remote Field Classes List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders/lines/remote-field-classes",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "include_deleted_data",
                "value": "",
                "type": "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/)."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              },
              {
                "name": "is_common_model_field",
                "value": "",
                "type": "query",
                "description": "If provided, will only return remote field classes with this is_common_model_field value"
              },
              {
                "name": "is_custom",
                "value": "",
                "type": "query",
                "description": "If provided, will only return remote fields classes with this is_custom value"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page. The maximum limit is 100."
              }
            ]
          },
          "docs": "Returns a list of `RemoteFieldClass` objects.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs5"
        },
        {
          "info": {
            "name": "Meta Post Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders/meta/post",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ]
          },
          "docs": "Returns metadata for `SalesOrder` POSTs.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs53H932"
        },
        {
          "info": {
            "name": "Remote Field Classes List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders/remote-field-classes",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "include_deleted_data",
                "value": "",
                "type": "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/)."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              },
              {
                "name": "is_common_model_field",
                "value": "",
                "type": "query",
                "description": "If provided, will only return remote field classes with this is_common_model_field value"
              },
              {
                "name": "is_custom",
                "value": "",
                "type": "query",
                "description": "If provided, will only return remote fields classes with this is_custom value"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page. The maximum limit is 100."
              }
            ]
          },
          "docs": "Returns a list of `RemoteFieldClass` objects.{/* BEGIN_ACCOUNTING_SALESORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA41U224aMRD9Fz8iYJsQWgWpqmhIc1FZ2oRWjarIGuxhcfDaxh4nhCj/XnnZJoTQy9N653Jm5vh4HpgAwsL6e9ZjIISNhpQpWJOVVqJmPXYJGsPIS/SsycCpHEp8Ectv91mTheic9YTyk0Itw6nHKeuxrERfYCsaNVUos+ekTBnCwgMpa0L2lNyaVtmsybQyc5T9dcK/4dbhrdqy9RsyrQKxJnMQAs28jcXsAhcRw38gp940lmgIdEsCQbaB0vJrmF22NIVEjYRyAAQDJBRp3LrijMiFXpbNULt2Vb0t8TZDk4EnJTSGrNs5"
        },
        {
          "info": {
            "name": "Async Bulk Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders/bulk",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates multiple `SalesOrder` objects with the given values.{/* BEGIN_ACCOUNTING_SALESORDER_BULK_CREATE_SUPPORTED_FIELDS */}{/* END_ACCOUNTING_SALESORDER_BULK_CREATE_SUPPORTED_FIELDS */}"
        },
        {
          "info": {
            "name": "Batch Objects List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/sales-orders/bulk/:batch_id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "batch_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "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 */}"
        }
      ]
    }
  ],
  "bundled": true
}