Mine sisu juurde
ShopentlyLearn

Viideteta artiklifotode kustutamine

Viideteta artiklifotode kustutamine

DELETE/api/v1/addons/shopently.blog/media/{media_id}

cURL-päring

curl --disable --globoff --fail-with-body --silent --show-error \
  --proto '=https' --connect-timeout 5 --max-time 30 \
  --request DELETE \
  --url 'https://shop.onshopently.com/api/v1/addons/shopently.blog/media/e8663afe-3c38-461c-a142-a980085630af?expected_version=2' \
  --header 'Authorization: Bearer EXAMPLE_ACCESS_TOKEN' \
  --header 'Idempotency-Key: learn-b3ec4b699af34d268e250e27626117c4'

Vastus

{
  "data": {
    "deleted": true,
    "id": "e8663afe-3c38-461c-a142-a980085630af",
    "version": 3
  },
  "meta": {
    "request_id": "38e8f043-d7fb-4cfb-827e-e4e686cfbaaa"
  }
}

Nõutavad õigused

Saadaval alates
BASIC
Võtme õigus
Viideteta artiklifotode kustutamineaddon.shopently.blog:media_delete
Nõutav paigaldatud moodul

shopently.blog