{
  "opencollection": "1.0.0",
  "info": {
    "name": "batches purchasereceives API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "purchasereceives",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a purchase receive",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives",
            "params": [
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "A new purchase receive can a be created.To create Purchase receive, URL parameter <code>purchaseorder_id</code> is needed."
        },
        {
          "info": {
            "name": "Retrieve a Purchase Receive",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives/:purchasereceive_id",
            "params": [
              {
                "name": "purchasereceive_id",
                "value": "4815000000045035",
                "type": "path",
                "description": "Unique identifier of the purchase receive."
              },
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Fetches a Purchase Receive from Zoho Inventory."
        },
        {
          "info": {
            "name": "Update a Purchase Receive",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives/:purchasereceive_id",
            "params": [
              {
                "name": "purchasereceive_id",
                "value": "4815000000045035",
                "type": "path",
                "description": "Unique identifier of the purchase receive."
              },
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Update a existing Purchase Receive from Zoho Inventory."
        },
        {
          "info": {
            "name": "Delete a Purchase Receive",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives/:purchasereceive_id",
            "params": [
              {
                "name": "purchasereceive_id",
                "value": "4815000000045035",
                "type": "path",
                "description": "Unique identifier of the purchase receive."
              },
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Deletes a Purchase Receive from Zoho Inventory."
        },
        {
          "info": {
            "name": "Submit a purchase receive for approval",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives/:purchasereceive_id/submit",
            "params": [
              {
                "name": "purchasereceive_id",
                "value": "4815000000045035",
                "type": "path",
                "description": "Unique ID of the purchase receive."
              },
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Submit a purchase receive for approval workflow."
        },
        {
          "info": {
            "name": "Approve a purchase receive",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives/:purchasereceive_id/approve",
            "params": [
              {
                "name": "purchasereceive_id",
                "value": "4815000000045035",
                "type": "path",
                "description": "Unique ID of the purchase receive."
              },
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Approve a submitted purchase receive."
        },
        {
          "info": {
            "name": "Final approval of a purchase receive",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives/:purchasereceive_id/approve/final",
            "params": [
              {
                "name": "purchasereceive_id",
                "value": "4815000000045035",
                "type": "path",
                "description": "Unique ID of the purchase receive."
              },
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Perform the final approval of a purchase receive (admin only)."
        },
        {
          "info": {
            "name": "Reject a purchase receive",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.zohoapis.com/inventory/v1/purchasereceives/:purchasereceive_id/reject",
            "params": [
              {
                "name": "purchasereceive_id",
                "value": "4815000000045035",
                "type": "path",
                "description": "Unique ID of the purchase receive."
              },
              {
                "name": "organization_id",
                "value": "10234695",
                "type": "query",
                "description": "ID of the organization"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Reject a submitted purchase receive."
        }
      ]
    }
  ],
  "bundled": true
}