Method: VoucherifySdk::ProductsApi#import_products_using_csv
- Defined in:
- lib/VoucherifySdk/api/products_api.rb
#import_products_using_csv(opts = {}) ⇒ ProductsImportCsvCreateResponseBody
Import Products using CSV Import products into the repository using a CSV file. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this API request.
397 398 399 400 |
# File 'lib/VoucherifySdk/api/products_api.rb', line 397 def import_products_using_csv(opts = {}) data, _status_code, _headers = import_products_using_csv_with_http_info(opts) data end |