Creating a JSON Import from a Mount Point

Changed on
post/{org_id}/imports

Request

  • Base URL
    https://app.salsify.com/api/orgs
  • URL
    https://app.salsify.com/api/orgs/{org_id}/imports
  • Auth
    API key in header Authorization

Path parameters

org_idstring required

The Salsify organization's unique identifier. Visit your Salsify organization and pull from the URL path, immediately following /orgs/

Headers

Authorization: Bearer:string

User API Key

Content-Typestring

Request body

Response

201

idinteger
system_idstring
namestring
webhook_notificationunknown
email_notificationunknown
scheduleunknown
last_import_rununknown

Example response

{
  "id": 2699416,
  "system_id": "s-90603baa-11e1-4411-bb66-c6110dcdc0ac",
  "name": "JSON Import",
  "import_source": {
    "type": "upload_import_source",
    "type_label": "Upload",
    "file": "test.json",
    "upload_path": "1/16569/user_data_import/1/2021/07/26/13:50:10-d7006a32"
  },
  "import_format": {
    "type": "json_import_format",
    "type_label": "JSON"
  }
}

Changes

    • breaking

      added the new required request property //

    • breaking

      the request property // became required

    • warning

      deleted the header request parameter Authorization: Bearer

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      api operation id creating-a-json-import-from-ftp removed and replaced with creating-a-json-import-from-a-mount-point

    • info

      added the new optional header request parameter Authorization: Bearer:

    • info

      the header request parameter Content-Type became optional

    • info

      the request property default value changed from ftp_import_source to upload_import_source

    • info

      added the optional property / to the response with the status