Skip to content

/products/import_file #9

Open
Open
@SH-20

Description

@SH-20

Импорт товаров с помощью CSV файла
/products/import_file

$body[] = array(
    'file' => $curlFile,
	'data' => array(
        'force_update' => true,
		'only_available' => false,
		'mark_missing_product_as' => 'none',
		'updated_fields' => array(
			array(
			    'quantity_in_stock'
			)
                )
    )
)

Проблема заключается в том, что сам файл передается но входные параметры force_update и поля которые нужно обновить не воспринимаются. Автоматический подгружается default "price", "presence" можете подсказать где ошибка?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions