---
title: Updating API POST Attachment to Supplier by ID Query
description: Approval Step in the Responses The expiration date of the old methods The POST Attachment to Supplier by ID changes from suppliers/{supplier_id}/attachment to attachments/{supplier_id}/8. This method
---

[Skip to content](https://help.precoro.com/updating-api-request-post-attachment-to-supplier-by-id#main-content)

[Contact us](https://help.precoro.com/kb-tickets/new?hsLang=en) [Customer portal](https://help.precoro.com/tickets-view?hsLang=en)

[![Property 1=Default](https://help.precoro.com/hubfs/Property%201=Default.svg)](https://app.precoro.com/login)

Open main navigation

Close main navigation

- [Contact us](https://help.precoro.com/kb-tickets/new)
- [Customer portal](https://help.precoro.com/tickets-view)
- [Contact Us](https://share.hsforms.com/1-5JilMA_Qv6AOSVjFtNhDg14slf)

[Contact Us](https://share.hsforms.com/1-5JilMA_Qv6AOSVjFtNhDg14slf)

 Hi there! How can we help you today?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://help.precoro.com/?hsLang=en)
2. [Precoro Updates](https://help.precoro.com/precoro-updates?hsLang=en)
3. [API Updates](https://help.precoro.com/precoro-updates?hsLang=en#api-updates)

# Updating API POST Attachment to Supplier by ID Query

#### Updates:

- [Attachment to Supplier by ID](https://help.precoro.com/updating-api-request-post-attachment-to-supplier-by-id#Attachment-to-Supplier-by-ID)
- [Upload Date for Attachments](https://help.precoro.com/updating-api-request-post-attachment-to-supplier-by-id#Upload-Date-for-Attachments)
- [Approval Step in the Responses](https://help.precoro.com/updating-api-request-post-attachment-to-supplier-by-id#Approval-Step-in-Responses)
- [The expiration date of the old methods](https://help.precoro.com/updating-api-request-post-attachment-to-supplier-by-id#expiration-date)

### Attachment to Supplier by ID

The POST Attachment to Supplier by ID changes from [suppliers/{supplier\_id}/attachment](https://api.precoro.com/suppliers/%7Bsupplier_id%7D/attachment) to [attachments/{supplier\_id}/8](https://api.precoro.com/attachments/{supplier_id}/8).

This method is used to add attachments to the Suppliers in Precoro.

In **attachments/{supplier\_id}/8,** thevalue **"8"** indicates the type of object to which we are posting the attachment. In this case, **"8"** stands for **Supplier**.

**What does the change include:**

- The method for adding attachments to the Supplier.
- You need to update the old method if you have been using it.

The process of **downloading attachments remains unchanged**.

### Upload Date for Attachments

The upload date for attachments will be changed to timestamp format to be consistent with other dates. For example:

"uploadDate": {

"date": "2023-06-08 08:24:49.000000",

"timezone\_type": 3,

"timezone": "UTC"

},

Will be reformated into:

**"uploadDate": "2023-06-06T08:24:49+00:00"**

**The affected endpoints include:**

- Get Warehouse Request by IDN
- Get Purchase Requisition by IDN
- Get Request For Proposal by IDN
- Get Request for Proposals Proposition by ID
- Get Purchase Order by IDN
- Get Receipt by IDN
- Get Invoice by IDN
- Get Supplier by ID
- Get Stock Transfer by ID.

### **Approval Step in the Responses**

The **"Approval step"** in the responses will be changed to "**Approval steps"**.

**The affected endpoints include:**

- Get Warehouse Request by IDN
- Get Purchase Requisition by IDN
- Get Purchase Order by IDN
- Get Receipt by IDN
- Get Invoice by IDN
- Get Supplier by ID.

**![](https://help.precoro.com/hubfs/approvalStep-png.png)**

### The expiration date of the old methods

Starting from **15.06.2023**, the old **"suppliers/{supplier\_id}/attachment", "Upload Date"** format**,** and **"Approval Step"** methods will no longer be functional.

If you have any questions regarding this update, please contact our Support Team, who will be happy to assist you.

- [Precoro Setup](https://help.precoro.com/precoro-setup?hsLang=en#main-content)

    - [Configurations](https://help.precoro.com/precoro-setup?hsLang=en#configurations)
    - [User Management](https://help.precoro.com/precoro-setup?hsLang=en#user-management)
    - [Custom Fields and Forms](https://help.precoro.com/precoro-setup?hsLang=en#custom-fields-and-forms)
    - [Supplier management](https://help.precoro.com/precoro-setup?hsLang=en#supplier-management)
    - [Working with Items](https://help.precoro.com/precoro-setup?hsLang=en#working-with-items)
    - [Approval Workflow](https://help.precoro.com/precoro-setup?hsLang=en#approval-workflow)
    - [Location Management](https://help.precoro.com/precoro-setup?hsLang=en#location-management)
    - [Precoro Payments](https://help.precoro.com/precoro-setup?hsLang=en#precoro-payments)
    - [Two-factor authentication](https://help.precoro.com/precoro-setup?hsLang=en#two-factor-authentication)
    - [Security](https://help.precoro.com/precoro-setup?hsLang=en#security)
    - [US Based Server](https://help.precoro.com/precoro-setup?hsLang=en#us-based-server)
- [How to use Precoro](https://help.precoro.com/how-to-use-precoro?hsLang=en#main-content)

    - [Warehouse Requests](https://help.precoro.com/how-to-use-precoro?hsLang=en#warehouse-requests)
    - [Requests for Proposals](https://help.precoro.com/how-to-use-precoro?hsLang=en#requests-for-proposals)
    - [Purchase Requisitions](https://help.precoro.com/how-to-use-precoro?hsLang=en#purchase-requisitions)
    - [Purchase Orders](https://help.precoro.com/how-to-use-precoro?hsLang=en#purchase-orders)
    - [Service Orders](https://help.precoro.com/how-to-use-precoro?hsLang=en#service-orders)
    - [Receipts](https://help.precoro.com/how-to-use-precoro?hsLang=en#receipts)
    - [Invoices](https://help.precoro.com/how-to-use-precoro?hsLang=en#invoices)
    - [Expenses](https://help.precoro.com/how-to-use-precoro?hsLang=en#expenses)
    - [Budgeting](https://help.precoro.com/how-to-use-precoro?hsLang=en#budgeting)
    - [Inventory](https://help.precoro.com/how-to-use-precoro?hsLang=en#inventory)
    - [Reports](https://help.precoro.com/how-to-use-precoro?hsLang=en#reports)
    - [AP Inbox and Intelligent AP Automation](https://help.precoro.com/how-to-use-precoro?hsLang=en#ap-inbox-and-intelligent-ap-automation)
    - [Working with documents](https://help.precoro.com/how-to-use-precoro?hsLang=en#working-with-documents)
    - [Suppliers Portal](https://help.precoro.com/how-to-use-precoro?hsLang=en#suppliers-portal)
    - [Supplier Registration](https://help.precoro.com/how-to-use-precoro?hsLang=en#supplier-registration)
    - [Attachments, Filters, and Search](https://help.precoro.com/how-to-use-precoro?hsLang=en#attachments-filters-and-search)
    - [Mobile App](https://help.precoro.com/how-to-use-precoro?hsLang=en#mobile-app)
    - [FAQs and Troubleshooting](https://help.precoro.com/how-to-use-precoro?hsLang=en#faqs-and-troubleshooting)
- [Precoro Integrations](https://help.precoro.com/precoro-integrations?hsLang=en#main-content)

    - [QuickBooks Online Integration](https://help.precoro.com/precoro-integrations?hsLang=en#quickbooks-online-integration)
    - [NetSuite Integration](https://help.precoro.com/precoro-integrations?hsLang=en#netsuite-integration)
    - [Xero Integration](https://help.precoro.com/precoro-integrations?hsLang=en#xero-integration)
    - [API Requests and Webhooks](https://help.precoro.com/precoro-integrations?hsLang=en#api-requests-and-webhooks)
    - [SSO Setting](https://help.precoro.com/precoro-integrations?hsLang=en#sso-setting)
    - [Google Integration](https://help.precoro.com/precoro-integrations?hsLang=en#google-integration)
    - [Power BI](https://help.precoro.com/precoro-integrations?hsLang=en#power-bi)
    - [Integration with Slack](https://help.precoro.com/precoro-integrations?hsLang=en#integration-with-slack)
    - [PunchOut Catalogs](https://help.precoro.com/precoro-integrations?hsLang=en#punchout-catalogs)
    - [Integrations via Connectors](https://help.precoro.com/precoro-integrations?hsLang=en#integrations-via-connectors)
    - [Bill.com Integration](https://help.precoro.com/precoro-integrations?hsLang=en#bill-com-integration)
- [Precoro Updates](https://help.precoro.com/precoro-updates?hsLang=en#main-content)

    - [Releases, 2026](https://help.precoro.com/precoro-updates?hsLang=en#releases-2026)
    - [Releases, 2025](https://help.precoro.com/precoro-updates?hsLang=en#releases-2025)
    - [Releases, 2024](https://help.precoro.com/precoro-updates?hsLang=en#releases-2024)
    - [Releases, 2023](https://help.precoro.com/precoro-updates?hsLang=en#releases-2023)
    - [API Updates](https://help.precoro.com/precoro-updates?hsLang=en#api-updates)
    - [General changes](https://help.precoro.com/precoro-updates?hsLang=en#general-changes)

[![Precoro](https://help.precoro.com/hubfs/Precoro.svg "Precoro")](https://precoro.com/)

<https://www.facebook.com/precoro> <https://x.com/PrecoroHQ> <https://www.youtube.com/@precoro> <https://www.linkedin.com/company/precoro>

Copyright © 2026, Precoro