FAQ
  1. How to manage automatic product data download with curl command
  2. How to register as an existing customer

 

1. How to manage automatic product data download with curl command


curl 'https://shop-api.rocksafety.com/api/product-data-download/download/csv'
    -u 'useremail:userpassword'
    -H 'Content-Type: application/x-www-form-urlencoded'
    -H 'Content-Language: en'
    --data 'short_description[en]=1&unit=1'

  • There is a download center url after the curl command. After the last "/" sign there is a download format. It can be  csv|json|xlsx
  • parameter -u : authentication parameter, username and password with a following format : user email address, semicolon, user password
  • first parameter -H : Mandatory without changes (Content-Type)
  • second parameter -H : you can set up a download language. Value of Content-Language can be :  hu|en|de|nl|fr|pl|ro|ru|sr
  • you can set up any parameters from the available parameters, but you can separate it with & sign
    • short_description[hu]=1 (Short description)
    • short_description[en]=1 (Short description )
    • short_description[de]=1 (Short description )
    • short_description[nl]=1 ( Short description )
    • short_description[fr]=1 ( Short description )
    • short_description[pl]=1 ( Short description )
    • short_description[ro]=1 ( Short description )
    • short_description[ru]=1 ( Short description )
    • short_description[sr]=1 ( Short description )
    • description[hu]=1 (Long description)
    • description[en]=1 ( Long description )
    • description[de]=1 ( Long description )
    • description[nl]=1 ( Long description )
    • description[fr]=1 ( Long description )
    • description[pl]=1 ( Long description )
    • description[ro]=1 ( Long description )
    • description[ru]=1 ( Long description )
    • description[sr]=1 ( Long description )
    • main_description[hu]=1 (Main description)
    • main_description[en]=1 ( Main description )
    • main_description[de]=1 ( Main description )
    • main_description[nl]=1 ( Main description )
    • main_description[fr]=1 ( Main description )
    • main_description[pl]=1 ( Main description )
    • main_description[ro]=1 ( Main description )
    • main_description[ru]=1 ( Main description )
    • main_description[sr]=1 ( Main description )
    • product_variant_article_number_old=1 (Old product number)
    • product_article_number=1 (Main product number)
    • product_article_number_old=1 (Old main product number)
    • package=1 (products in a package)
    • carton=1 (products in a carton)
    • weight=1 (weight)
    • volume=1 (volume)
    • price=1 (price)
    • unit=1 (unit)
    • image=1 (product picture)
    • warehouse_erd=1 (stock (Érd))
    • warehouse_center=1 (stock (Center))
    • warehouse_vam=1 (stock (Bonded warehouse))
    • gtin=1 (GTIN (EAN))
    • tariff_number=1 (Customs tariff number)
    • certificates=1 (certificates)

example.: 

curl 'https://shop-api.rocksafety.com/api/product-data-download/download/xlsx' -u 'user@user.hu:userpwd' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Content-Language: hu' --data 'short_description[hu]=1&unit=1&product_article_number=1' > rocksafetyproducts.xlsx
 

2. How to register as an existing customer

Follow the next steps for the registration:

  1. Click on the Login menu.
  2. Check your customer number on one of your invoices.
  3. Click on the REGISTRATION label.
  4. Please type your Customer Code and Tax number.
  5. Please set your name, email and password to finish the registration.

„Our Mission: Your Protection.”

ROCK SAFETY® is a PPE supplier that offers a wide range of protective equipment for workers to ensure they return home safely to their families. We believe in safety, family and the generations building our future.

What brand experience does ROCK SAFETY® offer?

  • Personal and professional advice
  • Focus on customers’ needs
  • Friendly and flexible customer service
  • Continous product- and service developement
  • Fast delivery
  • More than 600 years of PPE work experience
  • High customer satisfaction - complaint rate under 0.1%
  • Warehouse capacity of 5.500 m²
  • Serving more than 2.000 customers annually
  • Dynamically growing export markets - active in 24 countries

We are proud of the success of our business partners!

Headquarter / Main site / Personal pickup

ROCK SAFETY - 5100 Jászberény, Nagykátai út 10.

Phone: +36 57 515 700

Show on map >

Site in Érd

ROCK SAFETY - 2030 Érd, Erika utca 18.

Phone: +36 23 369 903

Show on map >

ROCK SAFETY® Workwear Store - (TESCO Store Jászberény)

5100 Jászberény, Nagykátai út 2/a.

Phone: +36 (30) 564-08-66

Show on map >