Function asa2_repo_save_item
Stores a product in the Repo, based on ASIN and country code.
Example:
$result = asa2_save_repo_item('B01M2AYHBV', 'UK');
Parameters summary
string |
$asin |
Amazon ASIN |
string |
$countryCode |
A supported country code |
array |
$options = array() |
Optional. Additional item parameters. (Not supported yet) |
Return value summary
boolean|integer|null|WP_Error
|
Returns true if the article was successfully queued for saving. |