curl --request PUT \
--url https://marketplace-api.fabric.inc/v1/retailers/{retailer_pk}/permits/{id}/acknowledge/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"variant": {
"name": "Var45",
"brand": {
"code": "marla-store",
"name": "Marla Store"
},
"identifier": "123-DEF12345",
"upc": 555555555202,
"retailer_identifiers": [
{
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"identifier": "SKU976",
"name": "Retailer Sample"
}
]
},
"connection": {
"connection_fee": {
"payment_model": "managed",
"payment_terms": "net60",
"net_price_method": "permit_cost",
"revshare_fraction": "0.4000",
"revc_fee_flat": "0.00",
"revc_fee_fraction": "0.0300",
"brand_fee_flat": "0.00",
"brand_flat_order_fee": "0.00",
"brand_percent_order_fee": "0.0000"
}
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-07-10T15:24:56Z",
"end_at": "2022-11-10T15:24:56Z",
"revoked_at": "2022-08-10T15:24:56Z",
"acknowledged_at": "2022-08-10T15:24:56Z"
}
'{
"id": 10004,
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"id": 500,
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"variant": {
"id": 249,
"name": "Var45",
"brand": {
"code": "marla-store",
"id": 456,
"name": "Marla Store"
},
"identifier": "123-DEF12345",
"brand_identifier": "HATR",
"upc": 555555555202,
"retailer_identifiers": [
{
"id": 5642,
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"id": 500,
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"identifier": "SKU976",
"name": "Retailer Sample"
}
]
},
"connection": {
"id": 1000,
"connection_fee": {
"id": 1000,
"payment_model": "managed",
"payment_terms": "net60",
"net_price_method": "permit_cost",
"revshare_fraction": "0.4000",
"revc_fee_flat": "0.00",
"revc_fee_fraction": "0.0300",
"brand_fee_flat": "0.00",
"brand_flat_order_fee": "0.00",
"brand_percent_order_fee": "0.0000",
"effective_at": "2015-10-10T00:00:00Z"
}
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-07-10T15:24:56Z",
"end_at": "2022-11-10T15:24:56Z",
"is_in_effect": true,
"revoked_at": "2022-08-10T15:24:56Z",
"is_acknowledged": true,
"acknowledged_at": "2022-08-10T15:24:56Z"
}Retailers, generally, include is_acknowledged=0 as a query parameter to get only new permits. Then, for each permit returned, retailers should process the permit and update any necessary internal systems, such as Product Catalog. After processing a permit successfully, they should acknowledge the permit using this endpoint so that subsequent queries to the /shipments/?is_acknowledged=0 endpoint does not return the processed shipment.
curl --request PUT \
--url https://marketplace-api.fabric.inc/v1/retailers/{retailer_pk}/permits/{id}/acknowledge/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"variant": {
"name": "Var45",
"brand": {
"code": "marla-store",
"name": "Marla Store"
},
"identifier": "123-DEF12345",
"upc": 555555555202,
"retailer_identifiers": [
{
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"identifier": "SKU976",
"name": "Retailer Sample"
}
]
},
"connection": {
"connection_fee": {
"payment_model": "managed",
"payment_terms": "net60",
"net_price_method": "permit_cost",
"revshare_fraction": "0.4000",
"revc_fee_flat": "0.00",
"revc_fee_fraction": "0.0300",
"brand_fee_flat": "0.00",
"brand_flat_order_fee": "0.00",
"brand_percent_order_fee": "0.0000"
}
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-07-10T15:24:56Z",
"end_at": "2022-11-10T15:24:56Z",
"revoked_at": "2022-08-10T15:24:56Z",
"acknowledged_at": "2022-08-10T15:24:56Z"
}
'{
"id": 10004,
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"id": 500,
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"variant": {
"id": 249,
"name": "Var45",
"brand": {
"code": "marla-store",
"id": 456,
"name": "Marla Store"
},
"identifier": "123-DEF12345",
"brand_identifier": "HATR",
"upc": 555555555202,
"retailer_identifiers": [
{
"id": 5642,
"retailer": {
"name": "Demo Retailer",
"code": "demo-retailer",
"id": 500,
"logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
"cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
"profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
"joined_at": "2021-08-03T17:24:12Z",
"is_rcn_retailer": false,
"is_onboarded": false,
"platform": "fabric",
"requires_subscription": "disabled",
"brand_permit_creation_allowed": false,
"website": "https://demoabc.com",
"status": "active"
},
"identifier": "SKU976",
"name": "Retailer Sample"
}
]
},
"connection": {
"id": 1000,
"connection_fee": {
"id": 1000,
"payment_model": "managed",
"payment_terms": "net60",
"net_price_method": "permit_cost",
"revshare_fraction": "0.4000",
"revc_fee_flat": "0.00",
"revc_fee_fraction": "0.0300",
"brand_fee_flat": "0.00",
"brand_flat_order_fee": "0.00",
"brand_percent_order_fee": "0.0000",
"effective_at": "2015-10-10T00:00:00Z"
}
},
"retailer_price": "12.99",
"retailer_cost": "8.99",
"pricing": {},
"attributes": {},
"start_at": "2021-07-10T15:24:56Z",
"end_at": "2022-11-10T15:24:56Z",
"is_in_effect": true,
"revoked_at": "2022-08-10T15:24:56Z",
"is_acknowledged": true,
"acknowledged_at": "2022-08-10T15:24:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Retailer name
1 - 64"Demo Retailer"
Retailer code, which is retailer name in lower case and hyphenated
1 - 32"demo-retailer"
true: Retailer is in Dropship network; Retailer is not in Dropship network
false
true: Retailer is onboarded
false: Retailer is not onboarded
false
Platform on which retailer is onboarded
fabric "fabric"
Represent whether retailer requires subscription to use the platform
disabled, enabled, upcoming "disabled"
true: Platform allows creation of brand permit
false: Platform doesn't require creation of brand permit
false
Website URL
100"https://demoabc.com"
Retailer status
active, setup, ghost "active"
Show child attributes
Variant name
200"Var45"
Stock Keeping Unit (SKU), unique identifier of a product
128"123-DEF12345"
Universal product code (UPC) is a 12-digit combination of numbers assigned to each product in your drop-shipping store
64555555555202
Show child attributes
Show child attributes
Retailer name
1 - 64"Demo Retailer"
Retailer code, which is retailer name in lower case and hyphenated
1 - 32"demo-retailer"
true: Retailer is in Dropship network; Retailer is not in Dropship network
false
true: Retailer is onboarded
false: Retailer is not onboarded
false
Platform on which retailer is onboarded
fabric "fabric"
Represent whether retailer requires subscription to use the platform
disabled, enabled, upcoming "disabled"
true: Platform allows creation of brand permit
false: Platform doesn't require creation of brand permit
false
Website URL
100"https://demoabc.com"
Retailer status
active, setup, ghost "active"
Stock Keeping Unit (SKU), unique identifier of a product
256"SKU976"
Retailer name
256"Retailer Sample"
Show child attributes
Show child attributes
Payment model
direct, managed "managed"
Payment terms
net15, net30, net45, net60, net90 "net60"
Method used to calculate net price
estimated_commission, product_cost, specified_in_order, revshare, permit_cost "permit_cost"
Internal only
"0.4000"
Internal only
1"0.00"
Internal only
1"0.0300"
Internal only
1"0.00"
Internal only
"0.00"
Vendor percentage of order fee
"0.0000"
Retailer price
"12.99"
Retailer cost
"8.99"
Time of permit beginning
"2021-07-10T15:24:56Z"
Time of permit ending
"2022-11-10T15:24:56Z"
Time of when permit got revoked
"2022-08-10T15:24:56Z"
Time of permit acknowledgement (UTC format)
"2022-08-10T15:24:56Z"
Ok
Permit ID
10004
Show child attributes
Retailer name
1 - 64"Demo Retailer"
Retailer code, which is retailer name in lower case and hyphenated
1 - 32"demo-retailer"
Retailer ID
500
URL of retailer logo
1"https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png"
URL of retailer cover image
1"https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg"
URL of retailer profile image
1"https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg"
Time of retailer joining Dropship (UTC format)
"2021-08-03T17:24:12Z"
true: Retailer is in Dropship network; Retailer is not in Dropship network
false
true: Retailer is onboarded
false: Retailer is not onboarded
false
Platform on which retailer is onboarded
fabric "fabric"
Represent whether retailer requires subscription to use the platform
disabled, enabled, upcoming "disabled"
true: Platform allows creation of brand permit
false: Platform doesn't require creation of brand permit
false
Website URL
100"https://demoabc.com"
Retailer status
active, setup, ghost "active"
Show child attributes
Variant ID
249
Variant name
200"Var45"
Show child attributes
Stock Keeping Unit (SKU), unique identifier of a product
128"123-DEF12345"
Brand identifier
1"HATR"
Universal product code (UPC) is a 12-digit combination of numbers assigned to each product in your drop-shipping store
64555555555202
Show child attributes
Retailer ID
5642
Show child attributes
Retailer name
1 - 64"Demo Retailer"
Retailer code, which is retailer name in lower case and hyphenated
1 - 32"demo-retailer"
Retailer ID
500
URL of retailer logo
1"https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png"
URL of retailer cover image
1"https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg"
URL of retailer profile image
1"https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg"
Time of retailer joining Dropship (UTC format)
"2021-08-03T17:24:12Z"
true: Retailer is in Dropship network; Retailer is not in Dropship network
false
true: Retailer is onboarded
false: Retailer is not onboarded
false
Platform on which retailer is onboarded
fabric "fabric"
Represent whether retailer requires subscription to use the platform
disabled, enabled, upcoming "disabled"
true: Platform allows creation of brand permit
false: Platform doesn't require creation of brand permit
false
Website URL
100"https://demoabc.com"
Retailer status
active, setup, ghost "active"
Stock Keeping Unit (SKU), unique identifier of a product
256"SKU976"
Retailer name
256"Retailer Sample"
Show child attributes
Connection permit ID
1000
Show child attributes
Connection fee ID
1000
Payment model
direct, managed "managed"
Payment terms
net15, net30, net45, net60, net90 "net60"
Method used to calculate net price
estimated_commission, product_cost, specified_in_order, revshare, permit_cost "permit_cost"
Internal only
"0.4000"
Internal only
1"0.00"
Internal only
1"0.0300"
Internal only
1"0.00"
Internal only
"0.00"
Vendor percentage of order fee
"0.0000"
Time connection fee became effective (UTC format)
"2015-10-10T00:00:00Z"
Retailer price
"12.99"
Retailer cost
"8.99"
Time of permit beginning
"2021-07-10T15:24:56Z"
Time of permit ending
"2022-11-10T15:24:56Z"
true: Permit is in effect
false: Permit is not in effect
true
Time of when permit got revoked
"2022-08-10T15:24:56Z"
true: Permit is acknowledged
false: Permit is not acknowledged
true
Time of permit acknowledgement (UTC format)
"2022-08-10T15:24:56Z"
Was this page helpful?