{"method":"POST","path":"https://api.revcent.com/v2/products/sync","summary":"Sync Products","description":"Sync products from a remote WooCommerce shop. RevCent will retrieve all products from the specified WooCommerce shop and do the following:<br>1. Create products which do not exist in RevCent<br>2. Update products that already exist in RevCent which have been modified in the shop but changes have not been updated in RevCent.<br><br>This operation creates an internal sync job for a shop, which until completed prevents other sync operations from being initiated for the same shop. Read properties to understand what will be conducted for products being created versus updated.<br><br>Note: Users have the ability to manually sync products using the product import tool within the RevCent web app at https://revcent.com/user/import-products instead of using this bulk operation. Manual importing is best suited when using a CSV file, certain remote products need attention, or the user needs to make specific adjustments. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/SyncProducts.md for an in-depth overview of this operation.","operationId":"SyncProducts","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"third_party_shop":{"description":"The user third party shop ID, which RevCent will connect to and sync products. Required.","type":"string","minLength":20,"maxLength":20},"project":{"description":"The user project ID, which RevCent will associate synced products with.","type":"string","minLength":20,"maxLength":20},"fulfillment_account":{"description":"The user fulfillment account ID which will be added to shippable products created during sync. Will not modify for existing shop products in RevCent.","type":"string","minLength":20,"maxLength":20},"subscription_profile":{"description":"The user subscription profile ID which will be added to subscription products created during sync. Will not modify for existing shop products in RevCent.","type":"string","minLength":20,"maxLength":20},"product_group":{"description":"The user product group ID in which products created during sync will be added to. Will not modify for existing shopproducts in RevCent.","type":"string","minLength":20,"maxLength":20}},"required":["third_party_shop"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"product_sync_id":{"type":"string","description":"The product sync ID associated with the sync job initiated by this operation. Use this ID to check sync creation and completion via the GetProductSync operation.","minLength":20,"maxLength":20},"result":{"type":"string"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}