Integrate shop

POST {{fulfillment_client_url}}/client/shop

Save the information of the ecart shop to refer it in others registers.

Body definition

nameTypeDescriptionRequired
nameStringRegistered name affiliated, if isn't send, the name to set will be the urlfalse
ecartIdStringId of this shop in ecart applicationfalse
urlStringUrl of the shop web pagetrue
ecommerceStringEcomerce servicetrue
tokenStringToken of the shop provided by ecarttrue

Request Body

{"name"=>"Wix Shop Test", "url"=>"https://wix.com", "ecommerce"=>"Wix", "token"=>"eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJocEVIRVpUUXVSNklvR3dlb3QxekZlVzVaNldURU43NSIsImlhdCI6MTU5NjA1OTU3MDkwN30.UBMwbZh46kcEA-ebnu7eovDUnhUreHh1pMZ02C4vre0It56wBiPd_iZ3d2WWxJaRA5WONbHQ6PoIrfoFc9Yk_g", "id"=>"https://wix.com"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"check":true}