Integrate shop
POST {{fulfillment_client_url}}/client/shop
Save the information of the ecart shop to refer it in others registers.
Body definition
name | Type | Description | Required |
---|---|---|---|
name | String | Registered name affiliated, if isn't send, the name to set will be the url | false |
ecartId | String | Id of this shop in ecart application | false |
url | String | Url of the shop web page | true |
ecommerce | String | Ecomerce service | true |
token | String | Token of the shop provided by ecart | true |
Request Body
{"name"=>"Wix Shop Test", "url"=>"https://wix.com", "ecommerce"=>"Wix", "token"=>"eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJocEVIRVpUUXVSNklvR3dlb3QxekZlVzVaNldURU43NSIsImlhdCI6MTU5NjA1OTU3MDkwN30.UBMwbZh46kcEA-ebnu7eovDUnhUreHh1pMZ02C4vre0It56wBiPd_iZ3d2WWxJaRA5WONbHQ6PoIrfoFc9Yk_g", "id"=>"https://wix.com"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"check":true}