API: Import
Padloper import API allows you import items into your shop.
WARNING
Currently only import of product-related items is supported.
Import Syntax
The import API is available from the $padloper
API variable, specifically as $padloper->import()
.
$padloper->import()
$padloper->import(Array $importItems, String $importType, Array $importOptions)
The $padloper->import()
takes three arguments.
Name | Type | Description |
---|---|---|
importItems | array | Array of data that you want to import. |
importType | string | The type of import to conduct. |
importOptions (optional) | array | Optionally specify contextual actions and/or values (for instance if to publish items on import). |
The method returns an array with information about the import including success/error messages and counts of imports.
Import Features
Please refer to the following sections for specific import possibilities, expected syntax and requirements.
Attributes
Padloper Attributes import API.
Attribute Options
Padloper Attribute Options import API.
Brands
Padloper Brands import API.
Categories
Padloper Categories import API.
Dimensions
Padloper Dimensions import API.
Downloads
Padloper Downloads import API.
Products
Padloper Products import API.
Properties
Padloper Properties import API.
Tags
Padloper Tags import API.
Types
Padloper Types import API.
Variants
Padloper Variants import API.