Skip to main content

294 posts tagged with "API"

Release notes and breaking changes for the Shoptet API.

View All Tags

Recycling fee in the Invoice detail

· One min read
Pavel Husa

Endpoint Invoice detail now contains information about recycling fee (contribution) for each invoice item, whereas provided and applicable. Object recyclingFee contains the fee category and amount paid for the whole item (multiplied by the number of items) and converted to the invoice currency. The fee is just informative (assumed to be part of the item price), it does not increase the invoice total amount to be paid.

New webhook on mandatory customer fields

· One min read
Pavel Husa

We have added a new webhook event eshop:mandatoryFields, which is emitted when “Required fields” on admin screen /admin/required-fields/ (Admin » Settings » Customers » Required Fields) get changed. Settings on this page affect fields, which are hidden or shown, optional or mandatory, on the customer registration and order billing & delivery information screens.

Simplified OAuth process for addons integration in admin

· 2 min read
Pavel Husa

The best way to provide addons settings to the eshop admins is to integrate them into Shoptet administration. The settings page is integrated as an iframe. To avoid unathorized access to the settings page, an OAuth authentication is necessary. Formerly it was necessary to redirect to Shoptet OAuth server and perform challenge code verification. Now we provide the challenge code directly within iframe source url, which is faster and avoids using cookies, which are dropped by some more restrictive browsers for cross-site requests, such as Safari.