{
  "opencollection": "1.0.0",
  "info": {
    "name": "Accounting subpackage_purchaseOrders API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "subpackage_purchaseOrders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/purchase-orders",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "If provided, will only return purchase 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 `PurchaseOrder` objects.{/* BEGIN_ACCOUNTING_PURCHASEORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2YbW/aOhTHvwrySwRkLYOqSFdXFOhGdQldS6dVU2UdnENwSezUD5Qy7btfJYSnjYeOItRWe5c4x/8TH/vnv5MfhIFBX6onUiHAmLTCcOGTHAmlhwGpkEurWB80tpWHiuQIRNyFEJfC6fCY5Ii2USSVQe+cY+Dpzwp7pEKcEJWPeSt4j6PnzDs5XBj0FRguhXZmnfO9pDfJkYCLAXrVSYftcpPwfNryy612Aq4NyZEItDZ9Ja3fv8IHi/oZyvG7BRiiMBDkPTDgLKjk1URmVVs8Cg8DNOjVwUAdDbJ4uGnGvjGRrjhOH4Oo"
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.merge.dev/api/accounting/v1/purchase-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 `PurchaseOrder` object with the given values.{/* BEGIN_ACCOUNTING_PURCHASEORDER_CREATE_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"POST\" data=\"H4sIAAAAAAAAA8WUbW8aORDHv0rllwh2j1AaBel0IoE2RGJpE1JdVFXWYE8WBz8sfiAJVb/7ybvbAGlyaaq0fYN2hpm/PePfzBfCwGNu7C3pEWDMBO2FzkmTKMNRkh55Hyybg8OJ5WhJk0AhMlC4E05Xe6RJXCgKYz3ytwIld8cWL0mPpAptjq2gxaVAnm6SUqE95ha8MNqld8mtyzKbNIkUeoG8XyU8LVeFt2rPPdOlUjhPmqQA5/zcmpDPT3EZ0P2AcrybRIXag2xx8JBuqbRsJfOQL1bBUaJHPgAPA/TIYrn1iXPvC"
        },
        {
          "info": {
            "name": "Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/purchase-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 `PurchaseOrder` object with the given `id`.{/* BEGIN_ACCOUNTING_PURCHASEORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2YbW/aOhTHvwrySwRkLYOqSFdXFOhGdQldS6dVU2UdnENwSezUD5Qy7btfJYSnjYeOItRWe5c4x/8TH/vnv5MfhIFBX6onUiHAmLTCcOGTHAmlhwGpkEurWB80tpWHiuQIRNyFEJfC6fCY5Ii2USSVQe+cY+Dpzwp7pEKcEJWPeSt4j6PnzDs5XBj0FRguhXZmnfO9pDfJkYCLAXrVSYftcpPwfNryy612Aq4NyZEItDZ9Ja3fv8IHi/oZyvG7BRiiMBDkPTDgLKjk1URmVVs8Cg8DNOjVwUAdDbJ4uGnGv"
        },
        {
          "info": {
            "name": "Line Items Remote Field Classes List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/purchase-orders/line-items/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_PURCHASEORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2YbW/aOhTHvwrySwRkLYOqSFdXFOhGdQldS6dVU2UdnENwSezUD5Qy7btfJYSnjYeOItRWe5c4x/8TH/vnv5MfhIFBX6onUiHAmLTCcOGTHAmlhwGpkEurWB80tpWHiuQIRNyFEJfC6fCY5Ii2USSVQe+cY+Dpzwp7pEKcEJWPeSt4j6PnzDs5XBj0FRguhXZmnfO9pDfJkYCLAXrVSYftcpPwfNryy612Aq4NyZEItDZ9Ja3fv8IHi/oZyvG7BRiiMBDkPTDgLKjk1URmVVs8Cg8DNOjVwUAdDbJ4uGnGvjGRrjhOH"
        },
        {
          "info": {
            "name": "Meta Post Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/purchase-orders/meta/post",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ]
          },
          "docs": "Returns metadata for `PurchaseOrder` POSTs.{/* BEGIN_ACCOUNTING_PURCHASEORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2YbW/aOhTHvwrySwRkLYOqSFdXFOhGdQldS6dVU2UdnENwSezUD5Qy7btfJYSnjYeOItRWe5c4x/8TH/vnv5MfhIFBX6onUiHAmLTCcOGTHAmlhwGpkEurWB80tpWHiuQIRNyFEJfC6fCY5Ii2USSVQe+cY+Dpzwp7pEKcEJWPeSt4j6PnzDs5XBj0FRguhXZmnfO9pDfJkYCLAXrVSYftcpPwfNryy612Aq4NyZEItDZ9Ja3fv8IHi/oZyvG7BRiiMBDkPTDgLKjk1URmVVs8Cg8DNOjVwUAdDbJ4uGnGvjGRrjhOH4O"
        },
        {
          "info": {
            "name": "Remote Field Classes List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/purchase-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_PURCHASEORDER_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2YbW/aOhTHvwrySwRkLYOqSFdXFOhGdQldS6dVU2UdnENwSezUD5Qy7btfJYSnjYeOItRWe5c4x/8TH/vnv5MfhIFBX6onUiHAmLTCcOGTHAmlhwGpkEurWB80tpWHiuQIRNyFEJfC6fCY5Ii2USSVQe+cY+Dpzwp7pEKcEJWPeSt4j6PnzDs5XBj0FRguhXZmnfO9pDfJkYCLAXrVSYftcpPwfNryy612Aq4NyZEItDZ9Ja3fv8IHi/oZyvG7BRiiMBDkPTDgLKjk1URmVVs8Cg8DNOjVwUAdDbJ4uGnGvjGRrjhOH"
        }
      ]
    }
  ],
  "bundled": true
}