diatly/attribute-remove-bundle

Diatly bundle to remove attribute using rest api endpoint

1.0.0 2019-01-16 06:25 UTC

README

The purpose of this bundle is to remove Akeneo attributes using REST API endpoint.

Features

  • Remove an attributes attribute using rest API endpoint

Requirements

AttributeRemoveBundle Akeneo PIM Community Edition Akeneo PIM Enterprise Edition
v1.0.* v2.*

Connector installation on Akeneo PIM

If it's not already done, install Akeneo PIM.

Get composer (with command line):

$ cd /my/pim/installation/dir
$ curl -sS https://getcomposer.org/installer | php

Then, install DiatlyAttributeRemoveBundle with composer:

In your composer.json, add the following code dependending on your Akeneo PIM version:

  • In require:
{
    "diatly/attribute-remove-bundle": "1.0.*"
}

Next, enter the following command line:

$php composer.phar require diatly/attribute-remove-bundle

Enable the bundle in app/AppKernel.php file, in the registerBundles function, before the line return $bundles:

$bundles[] = new Diatly\Bundle\AttributeRemoveBundle\DiatlyAttributeRemoveBundle();

Enable the routing in app/routing.yml file, after the line # other third party:

diatly_attribute_remove:
    resource: "@DiatlyAttributeRemoveBundle/Resources/config/routing.yml"

Configuration

Below is the deletion API endpoint information.

API URL: {{url}}/api/rest/v1/attributes/{{code}} Method: DELETE

code = attribute identifier

About us

The turnkey platform that supports brands with their marketplace growth, [Marketplace Diatly] (http://www.diatly.com)