Skip to main content

Bulk Phase-out (with and without a date)

If many products have to be (temporarily) phased out, this can be achieved by importing a file.

Ricardo Guerreiro avatar
Written by Ricardo Guerreiro
Updated over a week ago

Phasing out products can be done in two ways. Via the App or the API.
​In order to process the list, the information must be in a fixed format. The file must be a CSV file.

Below, you can read how you can phase out several products at once by means of a list.


Phasing out

In order to phase out products, you need the information below, as shown in the image. You can enter this information in this file.

skuCode,notBeingBought
123-ABC,TRUE
898-OIU,TRUE
093-PEX,TRUE
098-WEK,TRUE

ATTENTION! To phase out a product, pass notBeingBought = TRUE !

For this, you ensure that the stock of these products is replenished to 0.


Date

By default, the product will be phased out without an end date. If you would like the product to automatically be purchased again, you can set a date. When this date has passed, we will start purchasing this product again. For that, create the list of products in the following way:

skuCode,notBeingBought,resumingPurchase
123-ABC,TRUE,2020-01-24
898-OIU,TRUE,2020-10-29
093-PEX,TRUE,2020-05-06
098-WEK,TRUE,2020-08-15

A template of this file can be found here.

Of course, you can also indicate that products have to be purchased again. You can turn products On (TRUE) and Off (FALSE) in one list.

skuCode,notBeingBought
123-ABC,FALSE
898-OIU,TRUE
093-PEX,FALSE
098-WEK,TRUE

Keep in mind: When you snooze a product from a purchase advice, you are also phasing out that product until the next order moment (next purchase order).


Import from the Product Page

Click on the Import option:

A pop-up will appear requesting the Identifier (code by which the product is identified in Optiply, the most common being SKU Code or EAN code).

By clicking Next, you can get started.

This will open a pop-up that will show you the columns you are allowed to import for product updates.

By clicking Next, you have the option to choose a file or drag and drop the file you want to import.

Click Next, and you'll see your file. Here you have a few options to select, like the Encoding Format and select the First row as a header.

(This should be selected if the file has the first column as a header; otherwise, it should not be checked.).

On this next option, you can match the columns if the file has different column names from the required ones.

Select Next, and the import will start. Depending on the size of the file, this can take some time. You can track the progress from the imports page by going to Settings and selecting Imports/Exports.

On this page, not only can you track your import, but you can also check for errors when it is finished by clicking on the exclamation mark



API

If you have several products that need to be phased out. You can do this via the API. Use the products endpoint and the notBeingBought attribute.
You can see all of our API documentation here

If you have any questions or need further assistance, please reach out to us at support@optiply.nl or by chat message. We're happy to help!

Did this answer your question?