# create update and delete an article from rest api

**URL:** <https://forum.shopware.com/t/create-update-and-delete-an-article-from-rest-api/25012>\
**Category:** Job Posting\
**Created:** [10. Januar 2014 um 10:50 UTC](https://forum.shopware.com/t/create-update-and-delete-an-article-from-rest-api/25012 "2014-01-10T10:50:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepti](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@deepti](https://forum.shopware.com/u/deepti)\
**Post date:** [10. Januar 2014 um 10:50 UTC](https://forum.shopware.com/t/create-update-and-delete-an-article-from-rest-api/25012/1 "2014-01-10T10:50:04Z")

</div>

I recently started learning the shopware. I have a problem of create , update and delete an artikel from Rest API. I added the code…For the update and delete data from an REST API in …\engine\Shopware\Components\Api\Resource\Article.php $articleResource = \Shopware\Components\Api\Manager::getResource(‘Article’); $articleResource-\>delete(2); $articleResource-\>update(4, array(‘name’ =\> ‘Dummy Translation1’, ‘description’ =\> ‘Dummy Translation1’)); But for the create its is not working :oops: $articleResource-\>create(array(‘name’ =\> ‘VEry nwew’, ‘description’ =\> ‘Dummy Translation1’, ‘tax’ =\> 2,‘mainDetail’ =\> array( ‘number’ =\> ‘SW16623456’ ))); Also if i want to create or update 1000 of article. How can i do it. Do i have to write the seprate PHP Script for this. Please help me in this
