o
    µQ?h  ã                   @   sB   d dl mZ d dlmZ d dlmZ d dlmZ defdd„ZdS )	é    )ÚupdateSingleEtsyProduct)ÚShop)Ú	API_Error)ÚParamsÚparamsc                 C   sJ   | j  d¡}t | j  d¡¡}|stddƒ‚|jdkr t||ƒS tddƒ‚)NÚplatformProductIdÚshopIdzShop not found.i”  Ú1zNot implemented)ÚargsÚgetr   r   Ú
platformIdr   )r   r   Úshop© r   úQ/var/www/html/riverr-enterprise-integrations-main/V2/functions/Products/update.pyÚupdateSingleProduct   s
   
r   N)	ÚV2.functions.Etsy.Productsr   ÚV2.functions.Shops.mainr   ÚV2.middlewares.authr   Ú	V2.Paramsr   r   r   r   r   r   Ú<module>   s
   